diff --git a/src/gismo/gismo b/src/gismo/gismo new file mode 100644 index 0000000..a083a83 --- /dev/null +++ b/src/gismo/gismo @@ -0,0 +1,21 @@ +#!/bin/bash + +cd ../ + +if [[ $1 == "-dev" ]]; then + export GISMO_ENVIRONMENT=development + export GISMO_NAME=Gismo-dev +elif [[ $1 == "-test" ]]; then + export GISMO_ENVIRONMENT=staging + export GISMO_NAME=Gismo-test +elif [[ $1 == "-server" ]]; then + export GISMO_ENVIRONMENT=production + export GISMO_NAME=Gismo +else + export GISMO_ENVIRONMENT=production + export GISMO_NAME=Gismo-prod +fi + +export PYTHONPATH=./:$PYTHONPATH + +python3.9 gismo/main.py