3 Manual deployment with virtual machines
This chapter covers
- Creating and connecting to cloud-based servers
- Understanding web server fundamentals with NGINX
- Installing self-hosted Git repositories
- Configuring and installing production web applications
- Implementing background-running applications with Supervisor
- Automating the deployment process with Git hooks
- Securing our server by leveraging firewalls and SSH keys
In this part of our journey, we will manually deploy our code to a server. This involves uploading our code from our local computer to our server using just Git. Once the code is uploaded, custom scripts will be triggered to ensure that our server is updated with the latest version of our application. The process of sharing code safely to and from computers is exactly why Git is such an important tool and well worth mastering.
This process is similar to driving a vehicle with a manual transmission. Although it requires a bit more work, it’s an excellent opportunity to develop your skills before moving on to the automatic method. If you’re from the United States, you may be accustomed to driving an automatic transmission and find this idea strange. However, if you know how to drive a manual transmission, you might have a great appreciation of the value of learning the manual process before the automatic one.