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

font.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.
    check.sh 529 B
    #!/usr/bin/env bash
    # Check the AKPlanning setup for potential problems
    # execute as Utils/check.sh
    
    # activate virtualenv when necessary
    if [ -z ${VIRTUAL_ENV+x} ]; then
        source venv/bin/activate
    fi
    
    # enable really all warnings, some of them are silenced by default
    if [[ "$@" == *"--all"* ]]; then
        export PYTHONWARNINGS=all
    fi
    
    # in case of checking production setup
    if [[ "$@" == *"--prod"* ]]; then
        export DJANGO_SETTINGS_MODULE=AKPlanning.settings_production
        ./manage.py check --deploy
    fi
    
    ./manage.py check