1
0
Fork 0
mirror of https://bitbucket.org/oreolek/imaginary-realities.git synced 2024-05-19 17:38:33 +03:00

Updated readme file.

This commit is contained in:
richard.m.tew@gmail.com 2015-07-24 13:54:29 +12:00
parent 495e7fd5c2
commit 73ebe14766

View file

@ -14,17 +14,18 @@ SETUP - EBOOK GENERATION
1) Remove sudo commands from binary fetcher/installer command line.
2) Download and edit the linked 'linux-installer.py', replace '/opt' with '~/bin' or whatever.
3) 'cat linux-installer.py |' to the python command in the fetcher/installer command line.
4) Ignore errors.
5) 'export IR_CALIBRE_PATH=~/opt/calibre' replacing ~/bin with whatever.
b) For windows, install calibre and find the directory:
1) 'set "IR_CALIBRE_PATH=c:\program files (x86)\calibre2"'
4) Ignore installation errors.
5) May get errors generating pdf, if so, do offline.
b) For windows, install calibre 2+.
2. The generation script will warn you if it cannot find calibre, and cannot generate the e-books.
OPTIONAL SETUP
1. `pip install praw` (reddit api access, not yet used).
1. `pip install praw` (reddit api access)
2. `pip install disqus-python` (disqus api access)
USAGE
1. _env\Scripts\activate
2. python gensite.py
3. python update.py