Make environment
python3 -m venv env
Package installations:
pip install Django==2.1.*
pip3 install pymysql
sudo apt update
sudo apt install mariadb-server
In bash terminal:
sudo mysql
Create user, database and grant permissions:
create user 'projectadmin'@'localhost' identified by 'projectpass';
create database libdb;
grant all privileges on libdb.* to 'projectadmin'@'localhost';