Files
timetracker/entrypoint.sh
Lukáš Kucharczyk d029fda896
All checks were successful
continuous-integration/drone/push Build is passing
Collect static files in entrypoint.sh
2023-01-07 18:10:36 +01:00

11 lines
293 B
Bash

#!/bin/bash
# Apply database migrations
echo "Apply database migrations"
poetry run python src/web/manage.py migrate
echo "Collect static files"
poetry run python src/web/manage.py collectstatic
# Start server
echo "Starting server"
poetry run python src/web/manage.py runserver 0.0.0.0:8000