Skip to content

Commit 9014783

Browse files
author
Andrei D.
committed
Add superuser creation command
1 parent e30e046 commit 9014783

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,16 @@ This project uses VS Code's [Dev Containers extension](https://marketplace.visua
119119
- Project files are mounted directly into the container, allowing seamless editing and debugging.
120120

121121
4. **Running the Application**:
122-
- Apply Django migrations:
122+
- Apply migrations:
123123
```sh
124124
python src/manage.py migrate
125125
```
126-
- Start the Django server:
126+
- Create a superuser:
127127
```sh
128-
python src/manage.py runserver
128+
python src/manage.py createsuperuser
129129
```
130+
- Start the Django server from the VS Code menu:
131+
Go to **Run > Run Without Debugging**.
130132

131133
### Customizing the Dev Container
132134

0 commit comments

Comments
 (0)