e225a57f97
- Removing channels. Going back to a wsgi deployment - Removed server projector code - Autoupdate throttling is now in the client - New communication stack in the client - Adopted all deployment methods: Docker stack and docker compose (prod and dev) - Added autoupdate service as submodule
15 lines
213 B
Bash
Executable File
15 lines
213 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
wait-for-it -t 0 redis:6379
|
|
|
|
if [[ ! -f "/app/personal_data/var/settings.py" ]]; then
|
|
echo "Create settings"
|
|
python manage.py createsettings
|
|
fi
|
|
|
|
python -u manage.py migrate
|
|
|
|
exec "$@"
|