Boilerplate for Phoenix + Elm applications
I'm not using other platforms much right now, so feel free to contribute a quick start in another platform. For now, here's the link to the docs on how to install Elm, Elixir, and Phoenix :-)
-
Clone this repository and
cd
into it -
Install Elixir
$ brew update && brew install elixir
-
Install the Hex package manager
$ mix local.hex
-
Install Phoenix
$ mix archive.install https://github.com/phoenixframework/phoenix/releases/download/v1.0.3/phoenix_new-1.0.3.ez
-
Install PostgreSQL
$ brew install postgresql
-
Make sure there is a PostgreSQL user called
postgres
$ createuser -s postgres
-
We are all set! Run your Phoenix application
$ cd boilerplate $ mix ecto.create $ mix phoenix.server
-
You can also run your app inside IEx (Interactive Elixir) as:
$ iex -S mix phoenix.server