Skip to content

Commit

Permalink
Provision task can run more than once without fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsarm committed Apr 17, 2024
1 parent 9441cd3 commit 35dc349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ compilemessages: ./manage.py compilemessages --ignore 'venv*' --ignore '.venv*'
migrate: ./manage.py showmigrations && ./manage.py migrate
makemigrations: ./manage.py makemigrations && ./manage.py makemigrations partner mtasks
createadmin: ./manage.py shell -c "from django.contrib.auth.models import User; User.objects.create_superuser('$ADMIN_USERNAME', password='$ADMIN_PASSWORD')" && printf "User \"$ADMIN_USERNAME\" created.\n---> DON'T forget to CHANGE the password <---\n"
provision: honcho start createdb && honcho start migrate && honcho start createadmin
provision: honcho start createdb && honcho start migrate && honcho start createadmin || true
test: pytest --cov --cov-report=html --cov-report=term-missing --no-cov-on-fail --color=yes

0 comments on commit 35dc349

Please sign in to comment.