Tools and Methods of Web Application Deployment

Learn how to use Git and GitHub and push code to a GitHub repository.

Deploying a web application for production has drastically evolved over the years. From manual deployment to automated deployment techniques, web application deployment has advanced, making the process more secure, smooth, and as fast as possible. There are many tools for web application deployment, but in this course, we will focus on the automated tools and configure the Django project and the React project for automated deployments when pushes are made on the remote repository of the code.

But where will the code be pushed first? Let’s start describing and learning how to use the tools for our full stack application deployment, starting with Git and GitHub.

Using Git and GitHub

Note: Before proceeding, please look at the Appendix to configure git.

Git is a popular tool used for source code version control and collaboration. It not only helps the user keep track of changes made to the code but also allows developers to work through small or large codebases, with collaboration made easier. In the following sections, we will initialize a Git repository in the backend project, commit the changes, and then push the changes to a remote repository on GitHub.

Creating a Git repository

Click “Run” to open a new terminal in the directory where we created the Django project, and enter the following command:

Get hands-on with 1200+ tech skills courses.