Browse Source

renaming pad2pdf to octomode

pull/30/head
mb 2 years ago
parent
commit
6f85421720
  1. 28
      README.md

28
README.md

@ -1,34 +1,30 @@
# pad2pdf
# Octomode
work-in-process, collaborative editing space for PDF making using pads
work-in-process
## Install a new instance on the server
Octomode is a collective editing space for PDF making, using Etherpad, Etherdump, Paged.js and Flask.
`git clone https://git.vvvvvvaria.org/mb/pad2pdf.git`
## Install octomode
`cd pad2pdf`
`git clone https://git.vvvvvvaria.org/mb/octomode.git`
`python3 -m venv venvfolder`
`cd octomode`
`source ./venvfolder/bin/activate`
`python3 -m venv .venv`
`pip install -r requirements.txt`
`source .venv/bin/activate`
update the pad links in the templates, see `templates/`
`pip install -r requirements.txt`
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
* 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 the new instance of pad2pdf to supervisor (`cp /etc/supervisor/conf.d/previousexample.conf new.conf`)
* 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`)
and then:
go to the URL in the browser!
# Refs
* Ethertoff http://osp.kitchen/tools/ethertoff/ by OSP

Loading…
Cancel
Save