Updated run_server.sh

This commit is contained in:
mirai 2022-12-01 10:14:44 +03:00
parent b841d1cfdb
commit f5a72c4ca6

View File

@ -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