How to Move a Phoenix Project to a Different Development Server

From ElixirBlocks
Jump to: navigation, search

Remove _build and deps directories.

Make sure your migration files are available in priv/repo/migrations

If you are using a different database, make sure your database credentials are set properly in config/dev .

run:

  • mix deps.get + compile
  • mix ecto.create
  • mix ecto.migrate
  • mix phx.server