You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
783 B
29 lines
783 B
echo "Pulling pads..."
|
|
|
|
etherpump pull \
|
|
--meta \
|
|
--html \
|
|
--text \
|
|
--magicwords \
|
|
--publish-opt-in \
|
|
--pub p \
|
|
--css ../stylesheet.css \
|
|
--fix-names \
|
|
--connection 5 \
|
|
--force \
|
|
# rr-minimal-viable-learning # Note(decentral1se): uncomment for single pad pull
|
|
|
|
echo "Building the etherpump index..."
|
|
|
|
# Note(decentral1se): replace "p/*.meta.json" with "rr-minimal-viable-learning.meta.json" for single pad index
|
|
etherpump index \
|
|
input \
|
|
p/*.meta.json \
|
|
--templatepath templates \
|
|
--title "Notes, __MAGICWORDS__, readers & more ..." \
|
|
--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!"
|
|
|