You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kompass/docker/production/entrypoint-master.sh

25 lines
504 B
Bash

#!/usr/bin/env bash
set -o errexit
cd /app
if ! [ -f completed_initial_run ]; then
echo 'Initialising kompass master container'
cd docs
make html
cp -r build/html /app/jdav_web/static/docs
cd /app
python jdav_web/manage.py collectstatic --noinput
python jdav_web/manage.py compilemessages --locale de
python jdav_web/manage.py migrate
python jdav_web/manage.py ensuresuperuser
touch completed_initial_run
fi
uwsgi --ini docker/production/kompass.uwsgi.ini