Updated run_server.sh
This commit is contained in:
parent
b841d1cfdb
commit
f5a72c4ca6
|
|
@ -4,7 +4,7 @@ port=$1
|
||||||
|
|
||||||
if [ -d venv ]; then
|
if [ -d venv ]; then
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
sanic server.app -H 0.0.0.0 -p $port
|
sanic server/server.app -H 0.0.0.0 -p $port
|
||||||
else
|
else
|
||||||
python3.10 -m venv venv
|
python3.10 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user