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-11-01 19:21:34 +01:00
export APP_VERSION="19"
exec ./scripts/_bootstrap.py "$@"