Section Introduction
In this section of video, we are going to deploy our django project in a virtual machine.
- So, at first, we will learn about web server and nginx. We will use a web server like gunicorn to run our django application in production and we will use nginx as a reverse proxy and to serve static assests like images, css and javascript files.
- Then, we will learn about environment variables and use it to protect sensitive credentials like api keys, db configurations.
- Then we will create a virtual machine in AWS and deploy our django project.
At the end of this section, you will be able to deploy any given django project in a virtual machine.