I am working on a project which has been deployed on compute engine on Debian 9 VM instance.
Here's are the steps I have performed:
- Create Instance and ssh into
- Install Python (3.6) directly by using these commands:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev
sudo apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm
sudo apt-get install -y libncurses5-dev libncursesw5-dev xz-utils tk-dev
wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
tar xvf Python-3.6.4.tgz
and some other build commands to ....
- Then install virtualenv and activate it
- Clone the django project from github and install the requirements
- And run the gunicorn and the project is working fine.
But now, I want to set up the ssl
for my Django projects, I have googled it but the tutorials are for nginx, I don't have setup nginx on my VM instance, so how can I set up SSL on my instance? I want to use Lets Encrypt
.