reindex on startup

This commit is contained in:
byte[] 2020-04-29 22:28:56 -04:00
parent feb9d513ea
commit 74d29d8f59

View file

@ -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