Commit b3d8f7ec authored by zhengjinlei's avatar zhengjinlei

修改启动项

parent 5b3c99d0
...@@ -15,7 +15,7 @@ run: stop ## 运行后端服务(front) ...@@ -15,7 +15,7 @@ run: stop ## 运行后端服务(front)
export DEBUG=True && env/bin/python3 src/manage.py runserver 8099 export DEBUG=True && env/bin/python3 src/manage.py runserver 8099
prd: stop ## 生产环境运行(backend) prd: stop ## 生产环境运行(backend)
nohup env/bin/python3 src/manage.py runserver 8099 2>&1 & nohup env/bin/python3 src/manage.py runserver 0.0.0.0:8099 2>&1 &
upgrade: ## 升级后端服务代码 upgrade: ## 升级后端服务代码
env/bin/python3 -m pip install -r requirements.txt env/bin/python3 -m pip install -r requirements.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment