PlotDirector/Tools/Deployment/deploy-plotdirector-development

14 lines
460 B
Bash

#!/bin/sh
# Independent Atlas-only launcher; no Production import path, config or sudo rule.
exec /usr/bin/env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 /usr/bin/python3 -I -c '
import sys
sys.path.insert(0, "/usr/local/lib/plotdirector-dev-deployment")
from development import main
from activate import public_error
try:
main()
except Exception as error:
print("DEVELOPMENT DEPLOYMENT REFUSED: " + public_error(error))
sys.exit(1)
' "$@"