A pdf with images generation application. This project is developed on Windows 10 OS and uses Python 3.
-
Create a folder and clone the repository to that folder.
-
If you haven't installed virtualenv, run
pip install virtualenv
. -
Create a new virtual environment inside the project folder with the command
virtualenv env
. -
Install the following packages with
env\Scripts\pip install <package_name>
. Replace<package_name>
with package names. The packages used for this project include:1. flask 2. pdfkit
-
Download and Install wkhtmltopdf from https://wkhtmltopdf.org/downloads.html for Windows 64 bit.
-
Check the path to wkhtmltopdf.exe is correct in app/input_module/input.py.
-
Install the following node packages if not already installed in the app/static folder:
Bootstrap:
npm install --prefix ./app/static bootstrap
Font-awesome:
npm install --prefix ./app/static font-awesome
-
Run the program with
env\Scripts\python run.py