Commit 8abd9aff authored by fangzhipeng's avatar fangzhipeng

增加部署脚本

parent fb0cbe9b
......@@ -4,10 +4,6 @@ PROJECT_PATH=/home/ubuntu/web_service/projcect-web
cd $PROJECT_PATH
ps -ef |grep 'python application.py' |awk '{print $2}'|xargs kill -9
git pull --rebase
pyenv activate project
nohup python application.py &
\ No newline at end of file
./restart.sh
\ No newline at end of file
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