forked from mirror/MrDoc
优化docker启动脚本
This commit is contained in:
parent
01a52a12e9
commit
6eae36ecca
@ -5,7 +5,7 @@ python /app/MrDoc/manage.py makemigrations &&
|
||||
# 根据数据库迁移文件执行数据库变更
|
||||
python /app/MrDoc/manage.py migrate &&
|
||||
# 重建全文搜索索引
|
||||
nohup echo y |python /app/MrDoc/manage.py rebuild_index &&
|
||||
nohup echo y |python /app/MrDoc/manage.py rebuild_index &
|
||||
# 启动uwsgi
|
||||
uwsgi --ini /app/MrDoc/config/uwsgi.ini
|
||||
# 直接 runserver 方式运行
|
||||
|
Loading…
Reference in New Issue
Block a user