To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Create the eventstore
mix do event_store.create, event_store.init
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
To run the test suite:
- Setup (only once).
MIX_ENV=test mix do event_store.create, event_store.init
MIX_ENV=test mix ecto.create
- Run it:
mix test
Ready to run in production? Please check our deployment guides.
- Official website: http://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix