To start your Phoenix app:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Start Phoenix endpoint with
mix phoenix.server
- Install JavaScript dependencies with
yarn install
- Install Elm dependencies with
yarn elm:install
( you need to install elm first )
Compiling Elm front-end:
yarn build
Watch Elm files:
yarn watch
Now you can visit localhost:4000
from your browser.