update sh script
This commit is contained in:
parent
5a20130c37
commit
9ff0d13e07
9
run.sh
9
run.sh
|
@ -1,2 +1,9 @@
|
||||||
inlets client --remote=104.236.9.120:8090 --upstream=http://127.0.0.1:5000 --token=$1 &
|
if [ "$#" -ne 3 ]; then
|
||||||
|
echo usage: $0 "<inlets_ip_address:port> <inlets_token> <sqlite_database_path>"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Run the Flask and Python server through inlets
|
||||||
|
export DB_LOC=$3
|
||||||
|
inlets client --remote=$1 --upstream=http://127.0.0.1:5000 --token=$2 &
|
||||||
FLASK_APP=fgs flask run
|
FLASK_APP=fgs flask run
|
||||||
|
|
Loading…
Reference in New Issue
Block a user