From db1d5573a93fdc4ca9aeeab729ba2271fe980127 Mon Sep 17 00:00:00 2001 From: manetta Date: Wed, 1 Sep 2021 13:07:54 +0200 Subject: [PATCH] adding css syncing with the pad to the command line version --- command-line/Makefile | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/command-line/Makefile b/command-line/Makefile index 750e4cc..e1ab91d 100644 --- a/command-line/Makefile +++ b/command-line/Makefile @@ -1,12 +1,27 @@ +STYLESHEET=volumetric-regimes.css + all: run +install: + python3 -m venv venv + ./venv/bin/pip3 install etherpump + ./venv/bin/etherpump init + run: python3 -m http.server -update: +update: wiki css + +wiki: + # --- + # update the materials from the wiki, save it as Unfolded.html python3 update.py - # missing: sync the css on the etherpad with the local print.css file - # the same counts for the notes i guess, but is less urgent + +css: + # --- + # sync the CSS on the pad with the local print.css file + ./venv/bin/etherpump gettext $(STYLESHEET) > ./css/print.css + @echo "Saving CSS: $(STYLESHEET) (pad) > print.css (file)" upload: scp -r Unfolded.html css js fonts varia:public_html/volumetric-regimes/