SSL Certificate
Make Virtual Hosts, Lets Encrypt
Setting.py
with open('/etc/db_pass.txt') as g:
DB_PASS = g.read().strip()
wkhtmltopad
Make sure hkhtmltopdf is installed in /usr/bin/wkhtmltopdf
Git Clone Project
Install Requirements.txt
Django 2.2
Pip install PDF kit https://pypi.org/project/pdfkit/
pip install pdfkit
sudo apt-get install wkhtmltopdf
pip install django-wkhtmltopdf
Install xlsxwriter
pip install xlsxwriter
Set up Permissions Apache
chown -R $USER:$USER /directory
chmod -R 775 /directory