$ mix phoenix.new <NAME>
$ cd <NAME>
$ mix ecto.create
// if postgres errors
$ brew install postgresql
$ psql postgres
postgres=# CREATE ROLE postgres;
postgres=# ALTER ROLE postgres LOGIN;
postgres=# ALTER ROLE postgres CREATEDB;
postgres=# \q
// fi postgres errors
$ mix ecto.create
Created
April 11, 2017 23:53
-
-
Save orodio/3e009334ae53b286e62c59647aa23467 to your computer and use it in GitHub Desktop.
elixir phoenix mac postgres
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment