Collective PDF rendering environment (work-in-progress) https://cc.vvvvvvaria.org/wiki/Octomode
Go to file
2022-02-22 10:47:58 +01:00
snapshots oops double 2022-02-16 23:24:31 +01:00
static the pagedjs template is fixed now (not editable anymore in the interface) + other changes to the templates 2022-02-17 16:50:47 +01:00
templates adding | safe to the pad_content, now escape() and Markup() are sanitizing the input 2022-02-22 10:47:58 +01:00
config.py adding a default config file, with missing API key 2022-02-16 23:18:27 +01:00
Makefile bending pad2pdf into octomode 2022-01-12 21:27:06 +01:00
octomode.py adding escape() and Markup() 2022-02-22 10:44:18 +01:00
README.md taking out the template snapshot 2022-02-17 16:51:35 +01:00
requirements.txt added bleach to requirements 2022-02-17 16:48:33 +01:00

Octomode

work-in-process

Octomode is a collective editing space for PDF making, using Etherpad, Paged.js and Flask.

Use octomode locally

make setup (sets up a virtual environment and install the requirements)

make run (runs the Flask application)

Open the application at http://localhost:5001.

Dependencies

python dependencies are listed in requirements.txt

Use octomode on a server

  • Configure the webserver to listen to the port of the flask application, for example with a subdomain
  • Expand the current https certificate for a subdomain
  • Restart nginx (sudo service reload nginx)
  • To keep the flask application running in the background: add a new config to supervisor (cp /etc/supervisor/conf.d/previousexample.conf new.conf)
  • Restart supervisor (sudo service reload supervisor)

Refs

Snapshots