16 lines
335 B
Bash
Executable file
16 lines
335 B
Bash
Executable file
#!/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"
|
|
export APP_VERSION="17"
|
|
|
|
exec ./scripts/_bootstrap.py "$@"
|