Skip to content

Commit ce46aee

Browse files
authored
Fix createsuper user command
1 parent fb3f148 commit ce46aee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,21 @@ By default this will try to connect to http://localhost:8000 for the backend API
5858

5959
#### Helpful Commands
6060

61+
##### Run the docker compose stack in the background
62+
63+
docker compose up -d
64+
6165
##### Watch the logs of Django & the backend workers
6266

63-
docker compose logs -f django celeryworker
67+
docker compose logs -f django celeryworker
6468

6569
##### Watch the logs of all services:
6670

6771
docker compose logs -f
6872

6973
##### Create a super user account:
7074

71-
docker compose exec django python manage.py createsuperuser
72-
73-
75+
docker compose run --rm django python manage.py createsuperuser
7476

7577
##### Run tests
7678

0 commit comments

Comments
 (0)