From 8d0cc971bbd871cb0210341d5ce2f91ba769183e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Thu, 18 Oct 2018 14:48:32 +0200 Subject: [PATCH] Add README instructions to configure .env --- .env.template | 6 ++++++ .gitignore | 1 + README.md | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 .env.template diff --git a/.env.template b/.env.template new file mode 100644 index 000000000..4d849a121 --- /dev/null +++ b/.env.template @@ -0,0 +1,6 @@ +NEO4J_URI=bolt://localhost:7687 +NEO4J_USER=neo4j +NEO4J_PASSWORD=letmein +GRAPHQL_LISTEN_PORT=4000 +GRAPHQL_URI=http://localhost:4000 +MOCK=false diff --git a/.gitignore b/.gitignore index c2658d7d1..713d5006d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules/ +.env diff --git a/README.md b/README.md index f1805a90c..670fefcae 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,12 @@ yarn install npm install ``` +Copy: +``` +cp .env.template .env +``` +Configure the file `.env` according to your needs and your local setup. + Start the GraphQL service: ```bash