Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
pushing a fix for auth migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
codebanesr committed Oct 24, 2023
1 parent bfa3106 commit 639e3dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dj_backend_server/docker-compose.linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ services:
env_file:
- .env.docker
command: >
sh -c "python manage.py create_superuser &&
sh -c "python manage.py migrate auth &&
python manage.py migrate &&
python manage.py create_superuser &&
python manage.py sync_models &&
python manage.py runserver 0.0.0.0:8000"
networks:
Expand Down
4 changes: 3 additions & 1 deletion dj_backend_server/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ services:
env_file:
- .env.docker
command: >
sh -c "python manage.py create_superuser &&
sh -c "python manage.py migrate auth &&
python manage.py migrate &&
python manage.py create_superuser &&
python manage.py sync_models &&
python manage.py runserver 0.0.0.0:8000"
networks:
Expand Down

0 comments on commit 639e3dd

Please sign in to comment.