Skip to content
Snippets Groups Projects
Select Git revision
  • cb2ebf7041fc37a55945fd879aa28420bd41f56a
  • master default protected
  • 1-issue-czi-wtf
  • update-deps
4 results

config.php

Blame
  • Forked from FS Info TU Dortmund / Infoscreen / Infoscreen
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    setup.sh 648 B
    #!/usr/bin/env bash
    # Setup AKPlanning
    # execute as Utils/setup.sh
    
    # abort on error, print executed commands
    set -ex
    
    # remove old virtualenv
    rm -rf venv/
    
    # Setup Python Environment
    # Requires: Virtualenv, appropriate Python installation
    virtualenv venv -p python3.7
    source venv/bin/activate
    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