To start your Phoenix server:
- Install mise and homebrew
- Run
./bin/setup.exs
to install and setup dependencies - Optionally run
./bin/update-dependencies
to update dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
MIX_ENV
: The Phoenix runtime environment,dev
for development,test
for automated tests,prod
for productionHONEYBADGER_API_KEY
: The API key for error tracking with honeybadger.io
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix