2022-03-11 21:26:51 +01:00
|
|
|
# Risotto
|
2022-03-08 20:44:14 +01:00
|
|
|
|
2022-03-12 11:11:08 +01:00
|
|
|
## Install dependencies
|
|
|
|
|
|
|
|
- python3-dkimpy
|
|
|
|
- python3-cheetay
|
|
|
|
- ldns-utils
|
|
|
|
|
2022-03-11 21:26:51 +01:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
Clone projects:
|
|
|
|
|
|
|
|
- https://framagit.org/tiramisu/tiramisu
|
|
|
|
- https://cloud.silique.fr/gitea/risotto/dataset
|
|
|
|
- https://cloud.silique.fr/gitea/risotto/rougail
|
|
|
|
- https://cloud.silique.fr/gitea/risotto/risotto
|
|
|
|
|
|
|
|
## Set up
|
|
|
|
|
|
|
|
Set up Risotto:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd risotto
|
|
|
|
cp risotto.conf.example risotto.conf
|
|
|
|
```
|
|
|
|
|
|
|
|
In risotto.conf change the dataset directory.
|
|
|
|
|
|
|
|
Set up infrasctructure:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cp server.json.example server.json
|
|
|
|
```
|
|
|
|
|
2022-03-12 11:11:08 +01:00
|
|
|
Modify infrastructure description as required.
|
|
|
|
|
|
|
|
Generate the configuration:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./bootstrap.py
|
|
|
|
```
|
2022-03-11 21:26:51 +01:00
|
|
|
|
|
|
|
Send configuration to remote server:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
HOST=cloud.silique.fr
|
|
|
|
rm -f installations.tar
|
|
|
|
tar -cf installations.tar installations
|
|
|
|
scp installations.tar root@$HOST:
|
|
|
|
```
|
|
|
|
|
|
|
|
## Deploy
|
|
|
|
|
|
|
|
In host:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd
|
|
|
|
rm -rf installations
|
|
|
|
tar xf installations.tar
|
|
|
|
cd installations
|
|
|
|
```
|
|
|
|
|
|
|
|
Set up host:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./install_host cloud.silique.fr
|
|
|
|
```
|
|
|
|
|
|
|
|
Build container image:
|
|
|
|
|
|
|
|
```bash
|
2022-03-12 07:59:36 +01:00
|
|
|
./install_images cloud.silique.fr
|
2022-03-11 21:26:51 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Set up the containers and start them up:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./install_machines cloud.silique.fr
|
|
|
|
```
|