!15 Fix the problem of excessive document content and slow rebuild

Merge pull request !15 from jonnyan404/master
This commit is contained in:
州的先生 2021-03-04 22:12:47 +08:00 committed by Gitee
commit 1db0691d8b

View File

@ -20,7 +20,7 @@ else
echo "#####Configuration file already exists#####"
fi
python /app/MrDoc/manage.py makemigrations && python /app/MrDoc/manage.py migrate && echo y |python /app/MrDoc/manage.py rebuild_index
python /app/MrDoc/manage.py makemigrations && python /app/MrDoc/manage.py migrate && nohup echo y |python /app/MrDoc/manage.py rebuild_index &
if [ $CREATE_USER -eq 1 ]; then
if [ ! -e $CREATE_USER ]; then
touch $CREATE_USER