From dac639cf728e48f56a329002816769c16fdd519f Mon Sep 17 00:00:00 2001 From: Joel Abshier Date: Mon, 4 Oct 2021 20:51:19 -0500 Subject: [PATCH] Add Docker DB startup command to Readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2c0f9ab..5337602 100644 --- a/README.md +++ b/README.md @@ -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`