Collective PDF rendering environment (work-in-progress) https://cc.vvvvvvaria.org/wiki/Octomode
Go to file
2022-02-16 23:18:54 +01:00
static bending pad2pdf into octomode 2022-01-12 21:27:06 +01:00
templates bending pad2pdf into octomode 2022-01-12 21:27:06 +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 bending pad2pdf into octomode 2022-01-12 21:27:06 +01:00
README.md adding the dependency of Pandoc 2.2.2 2022-02-16 23:18:54 +01:00
requirements.txt bending pad2pdf into octomode 2022-01-12 21:27:06 +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

system dependencies are:

  • pandoc >= 2.2.2

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 this 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