38 lines
967 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Installation
## 1. Crée un dossier et un utilisateur
sudo mkdir -p /opt/isso
sudo useradd --system --home /opt/isso --shell /sbin/nologin isso
## 2. Crée et active lenvironnement
cd /opt/isso
sudo python3 -m venv venv
sudo source venv/bin/activate
sudo pip install --upgrade pip
sudo pip install isso
sudo pip install setuptools
sudo pip install wheel
## 3. Crée le fichier de config
sudo touch /opt/isso/isso.conf
sudo chown isso:isso /opt/isso/isso.conf
## 4. Crée le service systemd
sudo cp isso.service /etc/systemd/system/isso.service
sudo systemctl daemon-reexec
sudo systemctl daemon-reload
sudo systemctl enable isso
sudo systemctl start isso
sudo systemctl status isso
# Utilisation
Modification dans le thème binario de :
* themes/binario/layouts/partials/header.html -> ajout du script isso
* themes/binario/layouts/partials/comments.html -> modification intégrale du fichier
Ajout du fichier d'administration :
/opt/isso/isso-admin.sh