mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-17 11:04:22 +01:00
reindex on startup
This commit is contained in:
parent
feb9d513ea
commit
74d29d8f59
1 changed files with 3 additions and 0 deletions
|
@ -24,5 +24,8 @@ echo
|
||||||
# Try to create the database if it doesn't exist yet
|
# Try to create the database if it doesn't exist yet
|
||||||
createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev
|
createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev
|
||||||
|
|
||||||
|
# Reindex
|
||||||
|
mix reindex_all
|
||||||
|
|
||||||
# Run the application
|
# Run the application
|
||||||
mix phx.server
|
mix phx.server
|
||||||
|
|
Loading…
Reference in a new issue