Skip to content
Snippets Groups Projects

Jbpasquier/css

Merged Jean-Baptiste Pasquier requested to merge jbpasquier/css into staging
1 file
+ 3
15
Compare changes
  • Side-by-side
  • Inline
+ 3
15
@@ -69,24 +69,14 @@ You'll have to change some settings on the `sibserver` files.
@@ -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
@@ -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
@@ -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
Loading