$ mix deps.get
$ mix ecto.create && mix ecto.migrate
$ mix run priv/repo/seeds.exs
$ npm install
$ mix phoenix.server
Built with Facebook's Relay TodoMVC example as a base.
If you get the error:
** (Mix) The database for Todo.Repo couldn't be created, reason given: psql: FATAL: role "postgres" does not exist
You need to either update config/dev.exs
with valid PostgreSQL credentials or add a postgres
user/role to your PostgreSQL installation by running createuser -s postgres
from your CLI.