From dd7880a19e071a512de1c8cb5d64723e9a26d103 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 11 Mar 2022 21:26:51 +0100 Subject: [PATCH] write README --- README.md | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cc1a3d3..e41fa8a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,68 @@ -# risotto +# Risotto +## 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 +``` + +Change the configuration. + +Send configuration to remote server: + +```bash +HOST=cloud.silique.fr +./test.py +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 +./install_image cloud.silique.fr +``` + +Set up the containers and start them up: + +```bash +./install_machines cloud.silique.fr +```