In the last posts, I described how the Web service is created and how it works. Now it is time to deploy it on a server. This post contains some background information about server-side python, the deployment of such applications and the automation of the deployment process itself. After reading this post, you’ll know how server-side python works and how to deploy the Network Configuration Generator on a server or within a VM.
I will show you this week how to use Vagrant to run the python scripts from my examples repository without any changes on your working environment. The only thing that you need are two tools: VirtualBox and Vagrant. I think that VirtualBox is quite common today to host VMs on your laptop. Vagrant is primarily a tool to create and provision these machines based on a single configuration file. It is very useful if you need to share it e.g. for development purpose.