- nginx
- Python 3
- Git
- pip
- virtualenv
e.g.,, on Ubuntu:
sudo apt-get install nginx git python3 python3-pip
sudo pip3 install virtualenv
- 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