timetracker/entrypoint.sh

8 lines
192 B
Bash
Raw Normal View History

2023-01-03 13:29:39 +00:00
#!/bin/bash
2023-01-03 12:04:05 +00:00
# Apply database migrations
echo "Apply database migrations"
2023-01-03 13:29:39 +00:00
python src/web/manage.py migrate
2023-01-03 12:04:05 +00:00
# Start server
echo "Starting server"
2023-01-03 13:29:39 +00:00
python src/web/manage.py runserver 0.0.0.0:8000