Added executable
This commit is contained in:
parent
d668d0138f
commit
e489787f01
21
src/gismo/gismo
Normal file
21
src/gismo/gismo
Normal file
@ -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
|
Reference in New Issue
Block a user