decentral1se
1 year ago
No known key found for this signature in database
GPG Key ID: 3789458B3D0C410
7 changed files with
7 additions and
7 deletions
-
INSTALL.md
-
README.md
-
octomode.py
-
requirements.txt
-
settings.py
-
templates/default.css
-
templates/default.md
|
|
@ -151,4 +151,4 @@ If so, then reload nginx. |
|
|
|
|
|
|
|
`# service nginx reload` |
|
|
|
|
|
|
|
See if it works by visiting <http://192.168.178.58/octomode/>. |
|
|
|
See if it works by visiting <http://192.168.178.58/octomode/>. |
|
|
|
|
|
@ -77,4 +77,4 @@ You can simply run *octomode* now with the following command to run it with `gun |
|
|
|
|
|
|
|
## Use octomode locally |
|
|
|
|
|
|
|
It's recommended to use Firefox when working with octomode locally. Chrome or Chromium do not load external etherpads in iframes. |
|
|
|
It's recommended to use Firefox when working with octomode locally. Chrome or Chromium do not load external etherpads in iframes. |
|
|
|
|
|
@ -193,4 +193,4 @@ def pagedjs(name): |
|
|
|
if __name__ == '__main__': |
|
|
|
APP.debug = True |
|
|
|
APP.env = "development" |
|
|
|
APP.run(host="0.0.0.0", port=APP.config["PORTNUMBER"], threaded=True) |
|
|
|
APP.run(host="0.0.0.0", port=APP.config["PORTNUMBER"], threaded=True) |
|
|
|
|
|
@ -15,4 +15,4 @@ pypandoc==1.7.2 |
|
|
|
typing-extensions==4.0.1 |
|
|
|
urllib3==1.26.8 |
|
|
|
zipp==3.7.0 |
|
|
|
python-dotenv==0.21.0 |
|
|
|
python-dotenv==0.21.0 |
|
|
|
|
|
@ -15,4 +15,4 @@ PAD_API_KEY = os.environ.get('OCTOMODE_PAD_API_KEY', '') |
|
|
|
if not PAD_API_KEY or PAD_API_KEY == "XXX": |
|
|
|
print("error: you must provide a value for OCTOMODE_PAD_API_KEY") |
|
|
|
print("error: e.g. export OCTOMODE_PAD_API_KEY=...") |
|
|
|
exit(1) |
|
|
|
exit(1) |
|
|
|
|
|
@ -32,4 +32,4 @@ section#cover h1#title{ |
|
|
|
|
|
|
|
section#main pre{ |
|
|
|
color: magenta; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
@ -76,4 +76,4 @@ Preview the page in the HTML view. |
|
|
|
Render it on pages in the PDF view. |
|
|
|
``` |
|
|
|
|
|
|
|
</section> |
|
|
|
</section> |
|
|
|