mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +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
|
||||
createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev
|
||||
|
||||
# Reindex
|
||||
mix reindex_all
|
||||
|
||||
# Run the application
|
||||
mix phx.server
|
||||
|
|
Loading…
Reference in a new issue