diff options
author | Jordan <me@jordan.im> | 2023-08-06 15:34:17 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2023-08-06 15:34:17 -0700 |
commit | 2afb081565204136a73c3b42263b3f1db6d46afc (patch) | |
tree | 0d35d5153e6b5c4a92033f111a873218efb6cb55 | |
parent | b72268810036f8f195df7b44f4cb95b4f4762ef6 (diff) | |
download | roka-2afb081565204136a73c3b42263b3f1db6d46afc.tar.gz roka-2afb081565204136a73c3b42263b3f1db6d46afc.zip |
-rw-r--r-- | README.md | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -11,22 +11,18 @@ generated for each audiobook. A screenshot of the web interface is 2. Install Python dependencies flask and uwsgi. - ```bash + ``` pip install --user flask uwsgi ``` 3. Populate audiobook JSON cache; can be re-run to update cache upon download of new books. - ```bash + ``` ./roka.py --scan ``` -4. Run uwsgi.sh to start the server. - - ```bash - ./uwsgi.sh - ``` +4. Execute uwsgi.sh to start the server. ## Static generation @@ -41,9 +37,9 @@ support a username and password. `<output_directory>` is an output directory to place the generated site. All audiobook files will be copied to this location. - ```bash - ./roka.py --generate ./static - ``` + ``` + ./roka.py --generate ./static + ``` 3. Upload the static site to any static web hosting. Make sure it is accessible at the URL set as `BASE_URL` |