sudo apt-get install mariadb-server mariadb-client libmariadb-dev pkg-config -y
DB timezone thing
mysql_tzinfo_to_sql /usr/share/zoneinfo | sudo mysql mysql
Create DataBase
CREATE DATABASE <database-name> CHARACTER SET utf8;
Do Not Do This But
Store data in a JSON file
python manage.py dumpdata > data.json
Load data
python manage.py loaddata data.json
sudo apt-get install pandoc -y
Install dependency
sudo apt install certbot python3-certbot-nginx -y
Generate certificate and associate it
sudo certbot --nginx -d <example.com>
Auto renew the certificate
sudo systemctl status certbot.timer
sudo certbot renew --dry-run # test if auto renewal works