Mirror of l'Hubl
Go to file
plup 401a000e5f feature: added docker image for LDP server 2019-10-27 14:57:27 +01:00
.gitlab issue and merge request templates 2019-05-03 11:27:32 +02:00
docker feature: added docker image for LDP server 2019-10-27 14:57:27 +01:00
src feature: removed specific configuration 2019-09-17 15:39:08 -04:00
www update: default avatar 2019-07-20 01:08:54 +02:00
.babelrc fix: ES6 modules dependencies 2019-01-07 16:39:06 +01:00
.gitignore fix: gitignore 2019-05-22 14:55:02 +02:00
LICENSE Add LICENSE 2018-11-01 20:29:31 +00:00
Makefile ui: Makefile for test-paris & test-nantes 2019-05-21 19:53:44 +02:00
README.md feature: added docker image for LDP server 2019-10-27 14:57:27 +01:00
index.prod.html ui: Makefile for test-paris & test-nantes 2019-05-21 19:53:44 +02:00
lib_list.txt ui: remove browserify 2019-05-14 14:03:11 +02:00
package-lock.json update: package-lock.json 2019-05-14 19:10:43 +02:00
package.json feature: moved config generation from postinstall to sib-manager 2019-09-17 15:35:57 -04:00
server.js ui: remove browserify 2019-05-14 14:03:11 +02:00

README.md

SiB App

SiB App is the magic tool that allows the Happy Dev network to thrive in a decentralized way.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

To install SiB App, you'll need to have:

  • Python3 & Pip
  • NodeJS & NPM
  • A Prosody Server
  • (Optional) A SMTP Server

Installing

Install a server and a client application

Or build the docker images and run it:

$ docker build -t sibapp docker/
$ docker run --rm -p 127.0.0.1:8000:8000 -it sibapp

FIXME

Create a Client ID for Prosody & Client

  • Go to localhost:8000/admin/
  • Login with previously created account.
    • If needed you can create another admin account with ./manage.py createsuperadmin
  • Add a Clients on OpenID Connect Provider section
    • Name it as you wish
    • Client type: Public
    • Response types: id_token token (Implicit Flow)
    • Redirect URIs:
      http://localhost:3000
      http://127.0.0.1:3000
      http://0.0.0.0:3000
      http://localhost:8000
      https://myserver.com
      
  • Keep the 6-digits newly create Client ID somewhere

Configure config.json:

On the newly created ./src/config.json change the dev configuration like this:

  "dev": {
    "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
  },

Built With

Architecture

Some general schema of the existing StartinBlox applications architecture can be found here.