forked from mirror/MrDoc
Fix the problem of excessive document content and slow rebuild
This commit is contained in:
parent
df2eb4d46d
commit
dd6b28bdcc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user