2023-02-11 17:23:57 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
basedir=$(dirname "$0")
|
|
|
|
basedir=$(realpath $basedir)
|
|
|
|
cd "$basedir"
|
|
|
|
|
2023-02-11 23:43:17 +01:00
|
|
|
# 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
|
|
|
|
|
2023-02-11 17:23:57 +01:00
|
|
|
export PYTHONPATH="$basedir"
|
|
|
|
export DJANGO_SETTINGS_MODULE="project.settings"
|
2023-04-17 20:52:31 +02:00
|
|
|
export APP_VERSION="16"
|
2023-02-11 17:23:57 +01:00
|
|
|
|
2023-02-11 21:22:52 +01:00
|
|
|
exec ./scripts/_bootstrap.py "$@"
|