Merge pull request #1 from roschaefer/update_configuration_instructions

Add README instructions to configure .env
This commit is contained in:
Grzegorz Leoniec 2018-10-23 12:31:58 +02:00 committed by GitHub
commit 43e4b96338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,2 +1,3 @@
node_modules/
.env
.vscode

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