drinks-manager/start.sh

17 lines
335 B
Bash
Raw Normal View History

#!/usr/bin/env bash
basedir=$(dirname "$0")
basedir=$(realpath $basedir)
cd "$basedir"
# Set file permissions
chmod -c -R g-w,o-rwx *
chmod -c -R g-w,o-rwx .git/
chmod -c -R g-w,o-rwx .gitignore
export PYTHONPATH="$basedir"
export DJANGO_SETTINGS_MODULE="project.settings"
2023-04-19 18:24:05 +02:00
export APP_VERSION="17"
exec ./scripts/_bootstrap.py "$@"