- Run the linux server (guide created for ubuntu 22.04)
- Clone the repository
- Create a virtual environment
python3 -m venv .venv - Install the requirements
pip install -r requirements.txtin the virtual environment - Install the Playwright browser
playwright install chromium - Copy the
html2pdf.servicefile to/etc/systemd/system/ - Update the
html2pdf.servicefile with the correct configuration - Reload the systemd daemon
sudo systemctl daemon-reload - Start the service
sudo systemctl start html2pdf - Enable the service
sudo systemctl enable html2pdf - Configure the nginx server to proxy the service to the correct port (127.0.0.1:8123)
- Restart the nginx server
sudo systemctl restart nginx
infopulse/html2pdf
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|