Add README instructions to configure .env

This commit is contained in:
Robert Schäfer 2018-10-18 14:48:32 +02:00
parent e7a59d303a
commit 8d0cc971bb
3 changed files with 13 additions and 0 deletions

6
.env.template Normal file
View File

@ -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

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules/
.env

View File

@ -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