mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
1. 更新启动脚本
This commit is contained in:
6
start.sh
6
start.sh
@@ -14,8 +14,10 @@ if [ ! -e $CONTAINER_ALREADY_STARTED ]; then
|
||||
git remote add origin https://gitee.com/ngfchl/ptools &&
|
||||
# 设置拉取最新文件并覆盖
|
||||
git config pull.ff only &&
|
||||
git pull &&
|
||||
pip install -r requirements.txt &&
|
||||
git pull
|
||||
git checkout master &&
|
||||
git branch --set-upstream-to=origin/master master
|
||||
pip install -r requirements.txt &&
|
||||
python manage.py makemigrations &&
|
||||
python manage.py migrate &&
|
||||
python manage.py loaddata pt.json
|
||||
|
||||
Reference in New Issue
Block a user