Rename project (#41)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
The old naming scheme was causing confusion and probably errors. Reviewed-on: #41
This commit is contained in:
@ -2,12 +2,12 @@
|
||||
# Apply database migrations
|
||||
set -euo pipefail
|
||||
echo "Apply database migrations"
|
||||
poetry run python src/web/manage.py migrate
|
||||
poetry run python src/timetracker/manage.py migrate
|
||||
|
||||
echo "Collect static files"
|
||||
poetry run python src/web/manage.py collectstatic --clear --no-input
|
||||
poetry run python src/timetracker/manage.py collectstatic --clear --no-input
|
||||
|
||||
echo "Starting server"
|
||||
caddy start
|
||||
cd src/web || exit
|
||||
poetry run python -m gunicorn --bind 0.0.0.0:8001 web.asgi:application -k uvicorn.workers.UvicornWorker --access-logfile - --error-logfile -
|
||||
cd src/timetracker || exit
|
||||
poetry run python -m gunicorn --bind 0.0.0.0:8001 root.asgi:application -k uvicorn.workers.UvicornWorker --access-logfile - --error-logfile -
|
||||
|
Reference in New Issue
Block a user