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

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:
* 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)
* NodeJS on your machine
@ -63,16 +63,17 @@ Get the code of the SIB app on your machine:
$ 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):
```
{
"sdn": "http://api.myserver.com", # Or localhost:8000
"cdn": "https://cdn.happy-dev.fr",
"xmpp": "https://prosody.myserver.com/http-bind/",
"client_id": "000000" # <- Here goes your previously created Client ID
},
```
FIXME: complete the file and explain details
Then create a `config.json` with all the the capabilities the SIB App requires. Which are:
* businessproviders
* circles
* groups
* joboffers
* projects
* skills
* users
[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:
```