Skip to content

Commit

Permalink
Add Docker DB startup command to Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
abshierjoel committed Oct 5, 2021
1 parent 7a5cca8 commit dac639c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# UserPreferences

## Database

You can start a docker container for the database with the following command.

```
docker run --name some-postgres -e POSTGRES_PASSWORD=notpostgres POSTGRES_USER=postgres POSTGRES_DB=gql_preferences_dev -p 5432:5432 -d postgres
```

## GraphiQL

To start your Phoenix server:

* Install dependencies with `mix deps.get`
Expand Down

0 comments on commit dac639c

Please sign in to comment.