Newer
Older
# abort on error, print executed commands
set -ex
# remove old virtualenv
# Setup Python Environment
# Requires: Virtualenv, appropriate Python installation
pip install --upgrade setuptools pip wheel
pip install -r requirements.txt
# Setup database
python manage.py migrate
# Prepare static files and translations
python manage.py collectstatic --noinput
python manage.py compilemessages -l de_DE
# Create superuser
# Credentials are entered interactively on CLI
python manage.py createsuperuser
deactivate