Update 'README.md'
This commit is contained in:
parent
723624aa43
commit
58c48c93af
15
README.md
15
README.md
@ -4,21 +4,16 @@
|
|||||||
|
|
||||||
Octomode is a collective editing space for PDF making, using Etherpad, Paged.js and Flask.
|
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
|
* 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
|
* expand the current https certificate for this subdomain
|
||||||
* restart nginx (`sudo service reload nginx`)
|
* restart nginx (`sudo service reload nginx`)
|
||||||
|
Loading…
Reference in New Issue
Block a user