No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
6 additions and
12 deletions
-
cron.sh
|
@ -1,6 +1,5 @@ |
|
|
echo "Pulling pads now ..." |
|
|
echo "Pulling pads..." |
|
|
|
|
|
|
|
|
# This will pump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml |
|
|
|
|
|
etherpump pull \ |
|
|
etherpump pull \ |
|
|
--meta \ |
|
|
--meta \ |
|
|
--html \ |
|
|
--html \ |
|
@ -12,11 +11,11 @@ etherpump pull \ |
|
|
--fix-names \ |
|
|
--fix-names \ |
|
|
--connection 5 \ |
|
|
--connection 5 \ |
|
|
--force \ |
|
|
--force \ |
|
|
# rr-minimal-viable-learning # Note(decentral1se): uncomment for single pad |
|
|
# rr-minimal-viable-learning # Note(decentral1se): uncomment for single pad pull |
|
|
|
|
|
|
|
|
echo "Making the Etherpump index now ..." |
|
|
echo "Building the etherpump index..." |
|
|
|
|
|
|
|
|
# This will make an index for the dump |
|
|
# Note(decentral1se): replace "p/*.meta.json" with "rr-minimal-viable-learning.meta.json" for single pad index |
|
|
etherpump index \ |
|
|
etherpump index \ |
|
|
input \ |
|
|
input \ |
|
|
p/*.meta.json \ |
|
|
p/*.meta.json \ |
|
@ -24,12 +23,7 @@ etherpump index \ |
|
|
--title "Notes, __MAGICWORDS__, readers & more ..." \ |
|
|
--title "Notes, __MAGICWORDS__, readers & more ..." \ |
|
|
--output index.html |
|
|
--output index.html |
|
|
|
|
|
|
|
|
# tmp |
|
|
|
|
|
# rm -r ../publish/ |
|
|
|
|
|
# mv publish ../ |
|
|
|
|
|
# mv index.html ../ |
|
|
|
|
|
|
|
|
|
|
|
echo "Done!" |
|
|
|
|
|
|
|
|
|
|
|
# This will save a pad.css file every hour from the pad https://pad.vvvvvvaria.org/pad.css |
|
|
# 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 |
|
|
# cp publish/pad.css /srv/etherpad-lite/src/altetherpad/src/static/skins/no-skin/pad.css |
|
|
|
|
|
|
|
|
|
|
|
echo "Done!" |
|
|