ui: update for jbpasquier/css

This commit is contained in:
Jean-Baptiste Pasquier 2019-05-14 18:24:23 +02:00
parent 31d1e68876
commit ec1be319fd
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
1 changed files with 3 additions and 15 deletions

View File

@ -69,24 +69,14 @@ You'll have to change some settings on the `sibserver` files.
JABBER_DEFAULT_HOST = 'happy-dev.fr' JABBER_DEFAULT_HOST = 'happy-dev.fr'
``` ```
#### Add an RSA Key for `oidc`
On the first `sibserver` folder:
```
$ ./manage.py creatersakey
```
#### `sib-manager` launching #### `sib-manager` launching
On the first `sibserver` folder On the first `sibserver` folder
``` ```
$ sib runserver $ ./manage.py runserver
``` ```
You can also launch it directly from `manage.py`. Don't forget to activate the `venv` if so.
#### Create a Client ID for Prosody & Client #### Create a Client ID for Prosody & Client
- Go to `localhost:8000/admin/` - Go to `localhost:8000/admin/`
@ -123,8 +113,6 @@ $ git clone https://git.happy-dev.fr/startinblox/applications/sib-app.git
``` ```
$ cd sib-app $ cd sib-app
$ npm install $ npm install
$ node copy_lib.js
$ cp -n src/config.sample.json src/config.json
``` ```
#### Configure `config.json` #### Configure `config.json`
@ -144,12 +132,12 @@ On the newly created `./src/config.json` change the `dev` configuration like thi
``` ```
# For dev # For dev
$ make watch $ make watch
$ npm run serve
# Or for prod # Or for prod
$ make build $ make build
# Then publish the www folder
# Then on another terminal
$ make serve
``` ```
## Deployment ## Deployment