Shared PDF rendering environment (work-in-progress)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

5 months ago
# pad2pdf
work-in-process, collaborative editing space for PDF making using pads
## Install a new instance on the server
`git clone`
`cd pad2pdf`
5 months ago
`python3 -m venv venvfolder`
`source ./venvfolder/bin/activate`
`pip install -r requirements.txt`
update the pad links in the templates, see `templates/`
5 months ago
* 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/ /etc/nginx/sites-enabled/`)
* expand the current https certificate for this subdomain, using Letsencrypt
* 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`)
* restart supervisor (`sudo service reload supervisor`)
and then:
go to the URL in the browser!
# Refs
* Ethertoff by OSP
* Etherbox by Michael Murtaugh/Constant
* Pad2Print by Luuse
* JupyterPi by Michael Murtaugh/XPUB