diff options
-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` |