Collective PDF rendering environment (work-in-progress) https://cc.vvvvvvaria.org/wiki/Octomode
Go to file
2021-06-29 09:17:06 +02:00
static Small updates: changing style, loading the pagedjs in the same iframe 2021-06-28 14:53:23 +02:00
templates Small updates: changing style, loading the pagedjs in the same iframe 2021-06-28 14:53:23 +02:00
README.md Update 'README.md' 2021-06-29 09:17:06 +02:00
requirements.txt uploading this to the git to start sharing this prototype 2021-06-24 14:04:14 +02:00
start.py Small updates: changing style, loading the pagedjs in the same iframe 2021-06-28 14:53:23 +02:00

pad2pdf

work-in-process, collaborative editing space for PDF making using pads (<> Ethertoff http://osp.kitchen/tools/ethertoff/ <> Etherbox https://networksofonesown.constantvzw.org/ <> JupyterPi https://git.xpub.nl/XPUB/jupyterpi)

Install a new instance on the server

git clone https://git.vvvvvvaria.org/mb/pad2pdf.git

cd pad2pdf

python3 -m venv venvfolder

source ./venvfolder/bin/activate

pip install -r requirements.txt

python3 start.py

Then:

  • init etherpump (etherpump init)
  • configure the webserver to listen to the port of the flask application, for example with a subdomain (cp /etc/nginx/sites-enabled/previousexample.vvvvvvaria.org.conf /etc/nginx/sites-enabled/new.vvvvvvaria.org.conf)
  • expand the current https certificate for this subdomain, using Letsencrypt
  • restart nginx (sudo service reload nginx)
  • keep the flask application running in the background: add the new instance of pad2pdf to supervisor (cp /etc/supervisor/conf.d/previousexample.conf new.conf)
  • restart supervisor (sudo service reload supervisor)