Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Uncomment the entrypoint line in `docker-compose.yml`. Run `docker-compose up`.
# PGPASSWORD=$POSTGRES_PASSWORD dropdb -h $POSTGRES_HOST -U $POSTGRES_USER $POSTGRES_DB
PGPASSWORD=$POSTGRES_PASSWORD createdb -h $POSTGRES_HOST -U $POSTGRES_USER $POSTGRES_DB
mix ecto.setup
mix reindex_all
mix reindex_all --i-know-what-im-doing
mix ecto.migrate
exit
docker-compose down
Expand Down
2 changes: 1 addition & 1 deletion docker/app/run-prod
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fi
#mix ecto.load -r Philomena.Repo -d priv/repo/structure.sql --skip-if-loaded
#mix ecto.migrate -r Philomena.Repo

mix reindex_all
mix reindex_all --i-know-what-im-doing

# Get local IP
PHILO_POD_IP=$(ip route get 1.1.1.1 | head -1 | cut -d' ' -f7)
Expand Down