Skip to content

Commit 09693c5

Browse files
authored
Merge pull request #778 from code-corps/update-docs
Update docs with ecto.create command
2 parents 3a5410e + 72722de commit 09693c5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/INSTALLING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ You can now fetch your dependencies, compile, and run the server:
4646

4747
```shell
4848
mix deps.get
49+
```
50+
51+
You'll likely need to create the database, using [Ecto's `create` mix task](https://hexdocs.pm/ecto/Mix.Tasks.Ecto.Create.html):
52+
53+
```shell
54+
mix ecto.create
55+
```
56+
57+
> 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.
58+
59+
You can now compile and run the server:
60+
61+
```shell
4962
mix phoenix.server
5063
```
5164

0 commit comments

Comments
 (0)