To start your new Phoenix application you have to:
- Install dependencies with
mix deps.get
- Start Phoenix router with
mix phoenix.start
- Execute migrations with
mix ecto.migrate Repo
Now you can visit localhost:4000
from your browser.
- If you choose to change the application's structure, you could manually start the router from your code like this
PhoenixCrud.Router.start
Huge thanks to Garrett Heinlen for his tutorial http://gogogarrett.sexy/programming-in-elixir-with-the-phoenix-framework-building-a-basic-CRUD-app/