Skip to content

Commit

Permalink
UPDATE : the script now migrate all models
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguar-ks committed Oct 14, 2024
1 parent f1aa751 commit b8f7251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srcs/api/tools/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
set -e # Exit immediately if a command exits with a non-zero status

# Apply migrations
python3 manage.py makemigrations users authentication
python3 manage.py makemigrations
python3 manage.py migrate


python3 manage.py shell < tools/create_superuser.py

python manage.py runserver 0.0.0.0:8000
python manage.py runserver 0.0.0.0:8000

0 comments on commit b8f7251

Please sign in to comment.