优化启动脚本

This commit is contained in:
ngfchl
2022-12-25 21:45:08 +08:00
parent 3586332d64
commit a2d3f86fe1

View File

@@ -21,7 +21,6 @@ if [ ! -e $CONTAINER_ALREADY_STARTED ]; then
echo "安装pip依赖"
pip install -r requirements.txt
echo "系统初始化中"
python manage.py makemigrations
if [ ! -f db/db.sqlite3 ]; then
echo '数据库不存在,初始化数据库'
python manage.py migrate