$ docker run --rm -p 127.0.0.1:8000:8000 -it sibapp
```
Those packages are given with the last stable version tested.
## FIXME
Refer to the [documentation to install a SIB server](https://git.happy-dev.fr/startinblox/devops/doc/wikis/y_a_sib_application) with this configuration.
## Configure your SIB server
Create a Client ID for Prosody & Client
...
...
@@ -46,25 +54,36 @@ Create a Client ID for Prosody & Client
```
- Keep the `6-digits` newly create `Client ID` somewhere
Configure `config.json`:
## Build the application
In order to find your server(s) the client application needs to be assembled with the proper configuration.
On the newly created `./src/config.json` change the `dev` configuration like this:
Get the code of the SIB app on your machine:
```
"dev": {
"sdn": "http://api.myserver.com", # Or localhost:8000
"client_id": "000000" # <- Here goes your previously created Client ID
},
```
FIXME: complete the file and explain details
*[Sib-Core](https://git.happy-dev.fr/startinblox/framework/sib-core/) - An awesome new framework!
Then build your new SIB App:
```
$ npm run build
```
### Architecture
The application bundle is in the `dist` folder, ready to be deployed everywhere as a static file.
Some general schema of the existing StartinBlox applications architecture can be found [here](https://docs.google.com/presentation/d/1iCRGaJpFvZjhjIUnpsn6lRTJJ31ES6n94BNkJygzUwM/edit?usp=sharing).
## Built With
*[Sib-Core](https://git.happy-dev.fr/startinblox/framework/sib-core/) - An awesome new framework!