From 58c48c93af1438bbb46dd73665bdca70e2214984 Mon Sep 17 00:00:00 2001 From: mb Date: Wed, 12 Jan 2022 21:30:30 +0100 Subject: [PATCH] Update 'README.md' --- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index beaf305..68160b1 100644 --- a/README.md +++ b/README.md @@ -4,21 +4,16 @@ Octomode is a collective editing space for PDF making, using Etherpad, Paged.js and Flask. -## Install octomode +## Install octomode locally -`git clone https://git.vvvvvvaria.org/mb/octomode.git` +`make setup` (sets up a virtual environment and install the requirements) -`cd octomode` +`make run` (runs the Flask application) -`python3 -m venv .venv` +Open the application at `http://localhost:5001`. -`source .venv/bin/activate` +## Install octomode on a server -`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 * expand the current https certificate for this subdomain * restart nginx (`sudo service reload nginx`)