Update 'README.md'

This commit is contained in:
mb 2021-09-03 18:29:08 +02:00
parent 9915c740d0
commit a2bb929e50

View File

@ -14,7 +14,7 @@ work-in-process, collaborative editing space for PDF making using pads (<> Ether
`pip install -r requirements.txt` `pip install -r requirements.txt`
`python3 start.py` update the pad links in the templates, see `templates/`
Then: Then:
@ -22,5 +22,9 @@ Then:
* 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`) * 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 * expand the current https certificate for this subdomain, using Letsencrypt
* restart nginx (`sudo service reload nginx`) * restart nginx (`sudo service reload nginx`)
* 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 the new instance of pad2pdf to supervisor (`cp /etc/supervisor/conf.d/previousexample.conf new.conf`)
* restart supervisor (`sudo service reload supervisor`) * restart supervisor (`sudo service reload supervisor`)
and then:
go to the URL in the browser!