Move poetry inside the cron.sh
This commit is contained in:
parent
b9f5808525
commit
4b418e3a44
@ -274,7 +274,7 @@ Please see the following links for further reading:
|
|||||||
```
|
```
|
||||||
$ sudo -su systers
|
$ sudo -su systers
|
||||||
$ cd /var/www/etherpump
|
$ cd /var/www/etherpump
|
||||||
$ poetry run sh cron.sh
|
$ sh cron.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Served from `/etc/nginx/sites-enabled/etherpump.vvvvvvaria.conf`.
|
Served from `/etc/nginx/sites-enabled/etherpump.vvvvvvaria.conf`.
|
||||||
|
9
cron.sh
9
cron.sh
@ -1,6 +1,6 @@
|
|||||||
echo "Pulling pads..."
|
echo "Pulling pads..."
|
||||||
|
|
||||||
etherpump pull \
|
poetry run etherpump pull \
|
||||||
--meta \
|
--meta \
|
||||||
--html \
|
--html \
|
||||||
--text \
|
--text \
|
||||||
@ -11,19 +11,14 @@ etherpump pull \
|
|||||||
--fix-names \
|
--fix-names \
|
||||||
--connection 5 \
|
--connection 5 \
|
||||||
--force \
|
--force \
|
||||||
# rr-minimal-viable-learning # Note(decentral1se): uncomment for single pad pull
|
|
||||||
|
|
||||||
echo "Building the etherpump index..."
|
echo "Building the etherpump index..."
|
||||||
|
|
||||||
# Note(decentral1se): replace "p/*.meta.json" with "rr-minimal-viable-learning.meta.json" for single pad index
|
poetry run etherpump index \
|
||||||
etherpump index \
|
|
||||||
input \
|
input \
|
||||||
p/*.meta.json \
|
p/*.meta.json \
|
||||||
--templatepath templates \
|
--templatepath templates \
|
||||||
--title "Notes, __MAGICWORDS__, readers & more ..." \
|
--title "Notes, __MAGICWORDS__, readers & more ..." \
|
||||||
--output index.html
|
--output index.html
|
||||||
|
|
||||||
# This will save a pad.css file every hour from the pad https://pad.vvvvvvaria.org/pad.css
|
|
||||||
# cp publish/pad.css /srv/etherpad-lite/src/altetherpad/src/static/skins/no-skin/pad.css
|
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
Loading…
Reference in New Issue
Block a user