Requirements:
- Elixir 1.10.2
- Phoenix 1.3.4
- Erlang/OTP 22
To start your Phoenix app:
-
Install dependencies with
mix deps.get
-
Install Node.js dependencies with
npm install
-
Start Phoenix endpoint with
mix phoenix.server
in development mode -
Compile app into one executable
MIX_ENV=prod mix release
-
start compiled app:
MIX_ENV=prod ./_build/prod/rel/elixir_example/bin/elixir_example
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix