Nginx install on Ubuntu
Create python environment
adduser django
apt install virtualenv
cd /home/django
virtualenv env3 --python=/usr/bin/python3
source env3/bin/activate
pip install django
apt install libmysqlclient-dev gcc python3-dev
pip install mysqlclient pymysql
pip install imapclient mojimoji lxml pycryptodome sqlparse bs4 jaconv pillow django-wkhtmltopdf requests django-ipware
pip install watchdog matplotlib
pip install django-markdownx
pip install django-mdeditor
pip install pylint
uwsgi
apt install uwsgi-emperor uwsgi-plugin-python3
cd /etc/uwsgi-emperor/vassals
ln -s /home/django/simple_db/uwsgi.ini simple_db.ini