Skip to content

Commit

Permalink
Update docs with ecto.create command
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsmith committed Mar 29, 2017
1 parent 3a5410e commit 72722de
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/INSTALLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ You can now fetch your dependencies, compile, and run the server:

```shell
mix deps.get
```

You'll likely need to create the database, using [Ecto's `create` mix task](https://hexdocs.pm/ecto/Mix.Tasks.Ecto.Create.html):

```shell
mix ecto.create
```

> Note: If you're seeing error output like `psql: FATAL: role "postgres" does not exist`, you'll need to create the `"postgres"` role by running `psql` in your CLI, followed by `CREATE USER postgres SUPERUSER;`. Please post an issue if you're having other issues.
You can now compile and run the server:

```shell
mix phoenix.server
```

Expand Down

0 comments on commit 72722de

Please sign in to comment.