My Ansible playbook for deploying Hashtagbrews to a DigitalOcean droplet.
- Create new group and user
- Create new home directory
- Setup passwordless login based on ssh key
Manual
: Login, change default ssh port, disable root ssh login- Install Python pre-requisites
- Setup Django project
- Setup Gunicorn, Nginx, certificates
The basic Ubuntu setup is designed and tested for 16.04, taken from the article provided by DigitalOcean