Seeding Your Phoenix App For Different Mix Environments

By default when creating a new Phoenix app, a seed.exs file is automatically created for you in the priv/repo/ directory. Additionally, the mix.exs file has an alias for seeding your database that looks like this: defp aliases do [ "setup": ["ecto.create", "ecto.

Page 1 of 1