|
|
|
# How to install a SIB server
|
|
|
|
|
|
|
|
`SIB` application capabilities relies on:
|
|
|
|
|
|
|
|
* Servers with `LDP packages` able to serve the data
|
|
|
|
* Clients with `components` able to manipulate the data
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
The SIB server requires:
|
| ... | ... | @@ -12,8 +7,6 @@ The SIB server requires: |
|
|
|
* python 3.6
|
|
|
|
* postgresql database (for production)
|
|
|
|
|
|
|
|
Note: This setup can be tested a docker container: `docker run --rm -p 127.0.0.1:8000:8000 -it python:3.6 bash`
|
|
|
|
|
|
|
|
## Initiate the server
|
|
|
|
|
|
|
|
From a fresh environment, get the last version of the `sib-manager`:
|
| ... | ... | @@ -31,10 +24,6 @@ For a development server remove the `--production` flag. |
|
|
|
|
|
|
|
## Configure your LDP packages
|
|
|
|
|
|
|
|
LDP packages represent capabilites the server could support. Each may have it's own configuration depending of what mission it fulfills. There is no limit of what a LDP package can do.
|
|
|
|
|
|
|
|
You can use [the ones maintained by the Startin'Blox team](https://git.happy-dev.fr/startinblox/djangoldp-packages) or you can [write your own](fixme) !
|
|
|
|
|
|
|
|
The configuration of the packages goes in `packages.yml` file in the `ldppackages` section. Those are the ones used by the [SIB App](https://git.happy-dev.fr/startinblox/applications/sib-app):
|
|
|
|
|
|
|
|
```
|
| ... | ... | |
| ... | ... | |