doc: pointed the config.json file description to wiki

This commit is contained in:
plup 2019-11-16 16:04:38 +01:00
parent 6d70a9c11e
commit bd87d4847b
1 changed files with 12 additions and 11 deletions

View File

@ -11,7 +11,7 @@ These instructions will get you a copy of the project up and running on your loc
To install SiB App, you'll need: To install SiB App, you'll need:
* A SIB server with the appropriate modules * A SIB server with the appropriate modules
* A Prosody Server * A Prosody Server (with [appropriate modules](https://git.happy-dev.fr/startinblox/prosody/custom-prosody-modules/)
* A SMTP Server (optional) * A SMTP Server (optional)
* NodeJS on your machine * NodeJS on your machine
@ -63,16 +63,17 @@ Get the code of the SIB app on your machine:
$ git clone ... $ git clone ...
``` ```
Then create a `config.json` with all the server hosting the capabilities the SIB App requires (for convienence a `config.sample.json` exsits): Then create a `config.json` with all the the capabilities the SIB App requires. Which are:
```
{ * businessproviders
"sdn": "http://api.myserver.com", # Or localhost:8000 * circles
"cdn": "https://cdn.happy-dev.fr", * groups
"xmpp": "https://prosody.myserver.com/http-bind/", * joboffers
"client_id": "000000" # <- Here goes your previously created Client ID * projects
}, * skills
``` * users
FIXME: complete the file and explain details
[The documentation](https://git.happy-dev.fr/startinblox/devops/doc/wikis/create_sib_application) explains the details of this file but for convienence a `config.sample.json` exists in the source.
Then build your new SIB App: Then build your new SIB App:
``` ```