From 757e5bfb53977382c68a94d6bf28297adb7f5e10 Mon Sep 17 00:00:00 2001 From: mb Date: Mon, 28 Jun 2021 15:10:23 +0200 Subject: [PATCH] documenting the steps to install a new instance --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bb519e4..b3650c2 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,11 @@ work-in-process, collaborative editing space for PDF making using pads (<> Ether `python3 start.py` -Then: configure the webserver to listen to the port of the flask application, for example with a subdomain. +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 +* 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`) +* restart supervisor (`sudo service reload supervisor`)