Skip to content
Snippets Groups Projects
install_sib_server.rst 3.29 KiB

How to install a SIB server

Requirements

The SIB server requires:

  • python 3.6
  • postgresql database (for production)

Initiate the server

From a fresh environment, get the last version of the sib-manager:

$ python -m pip install -U sib-manager

Create a project structure from a production template:

$ sib startproject sibserver --production
$ cd sibserver

For a development server remove the --production flag.

Configure your LDP packages

The configuration of the packages goes in packages.yml file in the ldppackages section. Those following ones are given as an example. Yours depend on what your app does.

ldppackages:
  djangoldp_circle: djangoldp_circle
  djangoldp_account: djangoldp_account
  djangoldp_profile: djangoldp_profile
  oidc_provider: 'git+https://github.com/jblemee/django-oidc-provider.git@develop'

Details about packages.yml format are given in the template file.

Configure your server parameters

The packages.yml files is also use to provide parameters to the server itself.