- nginx
- Python 3.6
- virtualenv + pip
- Git
eg, on Ubuntu:
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get install nginx git python36 python3.6-venv
- see nginx.template.conf
- replace SITENAME with, e.g., staging.my-domain.com
- see gunicorn-systemd.template.service
- replace SITENAME with, e.g., staging.my-domain.com
Assume we have a user account at /home/username
/home/username └── sites └── SITENAME ├── database ├── source ├── static └── virtualenv