clean out the Python cache files at each run

This commit is contained in:
Andreas Zweili 2020-07-04 12:12:18 +02:00
parent 29a1f30237
commit f692fce446
1 changed files with 1 additions and 0 deletions

1
run.sh
View File

@ -26,4 +26,5 @@ else
python manage.py shell -c "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('admin', 'admin@example.com', 'password')"
touch .second_run
fi
find . \( -name __pycache__ -o -name "*.pyc" \) -delete
gunicorn network_inventory.wsgi:application --reload --bind 0.0.0.0:8000 --workers 3