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.
24 lines
458 B
Bash
24 lines
458 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
|
|
|
|
touch completed_initial_run
|
|
fi
|
|
|
|
uwsgi --ini docker/production/kompass.uwsgi.ini
|