You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
709 B
Python
15 lines
709 B
Python
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
|