Skip to content

Commit

Permalink
Edit build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvallejosdev committed Jan 29, 2024
1 parent 62ee2c6 commit f646852
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pip install -r requirements.txt
# How to automate createsuperuser on django
# https://stackoverflow.com/questions/6244382/how-to-automate-createsuperuser-on-django/59467533#59467533
# python manage.py shell -c "from django.contrib.auth import get_user_model; get_user_model().objects.create_user('[email protected]', 'game1986')"
python app/manage.py collectstatic --no-input
python app/manage.py migrate
python manage.py collectstatic --no-input
python manage.py migrate

python app/manage.py drop_test_database --noinput
python app/manage.py test
python manage.py drop_test_database --noinput
python manage.py test

0 comments on commit f646852

Please sign in to comment.