Using more general binary name for paged.js to ease installation.
parent
909191d3c7
commit
fdd07e6409
@ -1,11 +0,0 @@
|
|||||||
PAGEDJS_BINARY_PATH = ''
|
|
||||||
# Path to the pagedjs-cli executable
|
|
||||||
# Find it with `whereis pagedjs-cli`
|
|
||||||
DEBUG = False
|
|
||||||
# When set to true, the application doesn't generate a PDF,
|
|
||||||
# but uses the pagedjs-polyfill to show a preview of the document
|
|
||||||
SITEURL = 'http://localhost:5000'
|
|
||||||
# The url pagedjs-cli tries to connect to, this url is the
|
|
||||||
# default of the Flask development server
|
|
||||||
BASEURL = ''
|
|
||||||
HTML_TMP_DIR = '/tmp/publishing_house/'
|
|
@ -0,0 +1,14 @@
|
|||||||
|
PAGEDJS_BINARY_PATH = 'pagedjs-cli' # os.path.join(os.path.dirname(__file__), 'node_modules/pagedjs-cli/bin/paged')
|
||||||
|
# Path to the pagedjs-cli executable
|
||||||
|
# Find it on linux with `whereis pagedjs-cli`
|
||||||
|
# Let's try the simple way first :-)
|
||||||
|
DEBUG = False
|
||||||
|
# When set to true, the application doesn't generate a PDF,
|
||||||
|
# but uses the pagedjs-polyfill to show a preview of the document
|
||||||
|
SITEURL = 'http://localhost:5000'
|
||||||
|
# The url pagedjs-cli tries to connect to, to retrieve the HTML of
|
||||||
|
# the book, default if the default url of the Flask development server
|
||||||
|
BASEURL = ''
|
||||||
|
# Baseurl on the server. For now only in devployment
|
||||||
|
HTML_TMP_DIR = '/tmp/publishing_house/'
|
||||||
|
# Location where the temporary html files are stored
|
Loading…
Reference in New Issue