Hi Fellow Frequent Flyers!
We are trying to deploy a
Phoenix app to Fly.io that requires some data to be initialised in the PostgreSQL DB.
We followed the
Elixir getting started guide: Deploy an Elixir Phoenix Application and have done a bunch of googling/debugging and come to the conclusion that the
/priv/repo/seeds.exs file is not available during the
mix release …
So my/our question is: has anyone else faced this issue and how can we seed data into a freshly deployed
Phoenix App? (or is there a generic approach to seeding data in any programming language/framework that we can adapt…?)