aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-07-09 14:20:56 -0700
committerJordan <me@jordan.im>2020-07-09 14:20:56 -0700
commitee24bacda8d9015d9d3bb7c0c8d2b7633896cf80 (patch)
tree1c43ce0031474f10e83e586d1ac98ac521cfc4d8 /README
parent66ccf888d37eab5d92057cfc949d15f36ea42986 (diff)
downloadroka-ee24bacda8d9015d9d3bb7c0c8d2b7633896cf80.tar.gz
roka-ee24bacda8d9015d9d3bb7c0c8d2b7633896cf80.zip
housekeeping
Diffstat (limited to 'README')
-rw-r--r--README28
1 files changed, 26 insertions, 2 deletions
diff --git a/README b/README
index cef6721..e1db59f 100644
--- a/README
+++ b/README
@@ -6,14 +6,38 @@ iOS podcast app: https://demo.jordan.im/audiobook-rss/apple-podcasts.png
installation
------------
-a) copy and populate app.cfg and uwsgi.ini (if using UWSGI)
+a) copy and populate app.cfg and uwsgi.ini from examples
-b) create venv, install flask and uwsgi
+ $ cp app.cfg.example app.cfg
+ $ cp uwsgi.ini.example uwsgi.ini
+ $ cat app.cfg
+
+ ROOT_PATH = '/path/to/audiobooks'
+ USERNAME = 'username'
+ PASSWORD = 'password'
+
+ $ cat uwsgi.ini
+
+ [uwsgi]
+ http = 127.0.0.1:8085
+ processes = 2
+ threads = 4
+ wsgi-file = run.py
+ callable = app
+ master = true
+
+b) install python dependencies flask and uwsgi
+
+ $ pip install --user flask uwsgi
c) execute rebuild.py to populate audiobook JSON cache
+ $ ./rebuild.py
+
d) execute uwsgi.sh to start the server
+ $ ./uwsgi.sh
+
design decisions
----------------