Working through the Phoenix Guides (v1.3.0).
Each section has a branch in this repo.
Guides
- Up and Running [guide|src|demo]
- Adding Pages [guide|src]
- Routing
- Plug
- Endpoint
- Controllers
- Views
- Templates
- Channels
- Ecto
- Contexts
- Mix Tasks
- Custom Errors
Testing
- Introduction to Testing
- Testing Schemas
- Testing Controllers
- Testing Channels
Deployment
- Introduction to Deployment
- Deploying on Heroku
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check the 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