Update INSTALL.md

This commit is contained in:
croax 2022-02-19 14:56:30 +00:00
parent 68fb3b4751
commit a0c8445e0f
1 changed files with 4 additions and 6 deletions

View File

@ -6,8 +6,6 @@ Initial requirements
# adduser etherpad # adduser etherpad
``` ```
Install Etherpad-lite Install Etherpad-lite
===================== =====================
@ -22,7 +20,6 @@ $ git clone --branch master https://github.com/ether/etherpad-lite.git &&
$ cd etherpad-lite && $ cd etherpad-lite &&
``` ```
Restore "etherpad/settings.json" in etherpad-lite Restore "etherpad/settings.json" in etherpad-lite
Then try to start etherpad Then try to start etherpad
@ -85,6 +82,7 @@ table_of_contents
Chalec infos Chalec infos
============ ============
Intall Java Intall Java
`# apt install openjdk-jre-headless` `# apt install openjdk-jre-headless`
@ -96,18 +94,18 @@ Add to admin group to read logs
# cd # cd
``` ```
Download Statoolinfos jar at https://forge.devinsy.fr/devinsy/statoolinfos/releases
Download Statoolinfos jar at
https://forge.devinsy.fr/devinsy/statoolinfos/releases
Uncompress in /home/statool-<version> Uncompress in /home/statool-<version>
link versioned folder to generic one link versioned folder to generic one
`$ ln -s statoolinfos-<verion> statoolinfos` `$ ln -s statoolinfos-<verion> statoolinfos`
Restore statool config Restore statool config
(/var/www/html/.well-known/statoolinfos already restored in etherpad install) (/var/www/html/.well-known/statoolinfos already restored in etherpad install)
/home/statoolinfos/statoolinfos/statoolinfos.sh probe -full /hhome/statoolinfos/statoolinfos/conf/pad.chalec.org.conf /home/statoolinfos/statoolinfos/statoolinfos.sh probe -full /hhome/statoolinfos/statoolinfos/conf/pad.chalec.org.conf
`$ crontab -e` `$ crontab -e`
45 * * * * /home/statoolinfos/statoolinfos/statoolinfos.sh probe -previousday /home/statoolinfos/statoolinfos/conf/pad.chalec.org.conf >> /home/statoolinfos/statoolinfos.log 45 * * * * /home/statoolinfos/statoolinfos/statoolinfos.sh probe -previousday /home/statoolinfos/statoolinfos/conf/pad.chalec.org.conf >> /home/statoolinfos/statoolinfos.log