Skip to content
Snippets Groups Projects
Select Git revision
  • 25a3b3f9c322b1862ef444e7b753f68f143284ed
  • main default protected
  • feature/export-filtering
  • feature/clear-schedule-button
  • fix/responsive-cols-in-polls
  • feature/preference-polling-form
  • feature/json-export-via-rest-framework
  • feature/json-schedule-import-tests
  • fix/add-room-import-only-once
  • ak-import
  • renovate/django-simple-history-3.x
  • renovate/django-debug-toolbar-4.x
  • renovate/django-5.x
  • renovate/mysqlclient-2.x
14 results

0060_orga_message_resolved.py

Blame
  • Forked from KIF / AKPlanning
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    update.sh 589 B
    #!/usr/bin/env bash
    # Update AKPlanning
    # execute as Utils/update.sh
    
    # abort on error, print executed commands
    set -ex
    
    # activate virtualenv if necessary
    if [ -z ${VIRTUAL_ENV+x} ]; then
        source venv/bin/activate
    fi
    
    # set environment variable when we want to update in production
    if [ "$1" = "--prod" ]; then
        export DJANGO_SETTINGS_MODULE=AKPlanning.settings_production
    fi
    
    git pull
    pip install --upgrade setuptools pip wheel
    pip install --upgrade -r requirements.txt
    
    ./manage.py migrate
    ./manage.py collectstatic --noinput
    ./manage.py compilemessages
    
    touch AKPlanning/wsgi.py