Skip to content

Commit

Permalink
Remove search indexing from entrypoint (see #533)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Oct 22, 2024
1 parent 6405a42 commit 04e6150
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ then
export GRAMPSWEB_SECRET_KEY=$(cat /app/secret/secret)
fi

# Create search index if not exists
if [ -z "$(ls -A /app/indexdir/*.db)" ]
then
python3 -m gramps_webapi --config /app/config/config.cfg search index-full
fi

# Run migrations for user database, if any
cd /app/src/
python3 -m gramps_webapi --config /app/config/config.cfg user migrate
Expand Down

0 comments on commit 04e6150

Please sign in to comment.