From 50f210cf5fa5b3ae40a6e650fe8f5fa4c2eb6d7b Mon Sep 17 00:00:00 2001 From: AndreasAusKiel <44268955+AndreasAusKiel@users.noreply.github.com> Date: Wed, 14 Nov 2018 18:37:19 +0100 Subject: [PATCH] Some corrections and an additions Setup the API via Docker: Added, that the Server is running after the first sudo docker-compose up --build and rewrote the following information for a better "flowing" readability. Setting up the database seeder for local development: Corrected the path from config/docker/* to config/*, and optimized the following sentence a bit. --- server-api/installation.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/server-api/installation.md b/server-api/installation.md index 8e9f060..8081b64 100644 --- a/server-api/installation.md +++ b/server-api/installation.md @@ -26,9 +26,8 @@ Determine now the installed version, running ```bash $ sudo docker-compose up --build ``` -. - -Now, your API should be running at [http://localhost:3030](http://localhost:3030) and you can see some contributions at [http://localhost:3030/contributions](http://localhost:3030/contributions). +. You see no more changes in your terminal-window? +Congratulations: Your server is now running at [http://localhost:3030](http://localhost:3030) which you can load in your browser. Some contributions wait for you at [http://localhost:3030/contributions](http://localhost:3030/contributions). For debugging you can run: @@ -40,9 +39,9 @@ And debug your app with [Chrome Dev Tools](chrome://inspect). ### Setting up the database seeder for local development -Change configuration in `config/docker/local-development.json` or `config/docker/local.json` and rerun `docker-compose up --build`. +Change the configuration in `config/local-development.json` or `config/local.json` and rerun `docker-compose up --build`. -If both the files do no exist create a `config/local.json` and copy the content of `config/local.example.json` and rerun `docker-compose up --build`. +If both files do no exist, create a `config/local.json` , copy the content of `config/local.example.json` into it and rerun `docker-compose up --build`. Reference : https://github.com/lorenwest/node-config/wiki/Configuration-Files