How to Move a Phoenix Project to a Different Development Server

From ElixirBlocks
Revision as of 14:08, 20 October 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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