Skip to content

Commit f909347

Browse files
authored
Merge pull request #643 from code-corps/update-docs
Update docs for postgres env vars
2 parents 61ffdea + 56264d9 commit f909347

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/INSTALLING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ cd code-corps-api
3030
cp .env.example .env
3131
```
3232

33+
This file places environment variables on separate lines, prepended with `export` to make them available to your Elixir application. You can [read about environment variables you may want here](../USAGE.md#environment).
34+
35+
> Note: Depending on your PostgreSQL configuration, you may also want to add lines for `DATABASE_POSTGRESQL_USERNAME`, `DATABASE_POSTGRESQL_PASSWORD`, `DATABASE_POSTGRESQL_HOST`.
36+
>
37+
> Your `dev.exs` has some sane defaults of `postgres`, `postgres`, and `localhost`, respectively.
38+
3339
Now, you can source the `.env`:
3440

3541
```shell

0 commit comments

Comments
 (0)