Collective PDF rendering environment (work-in-progress) https://cc.vvvvvvaria.org/wiki/Octomode
Go to file
2022-03-10 18:02:08 +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 escape() and bleach.clean() are disabled... sanitizing does not render the html at all anymore... 2022-02-22 11:08:14 +01:00
config.py adding APPLICATION_ROOT to config + workaround for url mapping for non-root URL sitatuions 2022-03-10 17:52:52 +01:00
Makefile bending pad2pdf into octomode 2022-01-12 21:27:06 +01:00
octomode.py removing the workaround, causes error on octomode that is installed at the varia server 2022-03-10 18:02:08 +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