To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - configure a .env file
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Or using docker :
- Run
docker-compose build
to build the server - Run
docker-compose up -d
to start the server
Now you can visit localhost
from your browser.
Ready to run in production? Please check our deployment guides.
- 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