Rename project (#41)
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:
2023-01-19 19:35:25 +00:00
parent c3c9ae0632
commit 2f00be455d
46 changed files with 1266 additions and 163 deletions

View File

@ -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 -