To start your Phoenix server:
- Install dependencies with
mix deps.get
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4040
from your browser.
Ready to run in production? Please check our deployment guides.
MIX_ENV=prod mix assets.deploy
MIX_ENV=prod mix release
scp _build/prod/milk_run-0.x.0.tar.gz milkrun@prod-server:.
Then unpack the tarball wherever you like, such as /opt/milk_run-0.x.0
and run this command
/opt/milk_run-0.x.0/bin/milk_run start
- 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