Vagrant development env

Following the nice CloudAcademy course on Python development, and was very confused for a while how the instructor was combining the local VS Code with Vagrant VM until in the fourth lecture it was revealed in a kind of side sentence, that Vagrant mounts the directory where Vagrant file is into /vagrant inside the VM. So I can then just edit code on VS Code running outside the VM, and then run the code (or tests) inside the VM where the code is automatically available in the /vagrant dir.

Sidenote:

I keep forgetting how I can swap between editor and integrated terminal, so to remind myself, I’ve set it like this

i think there is a default for using ‘`’ key, but I’ve already binded that to open new cmder terminal.

back to vagrant..

Testing

My Vagrant setup is working as intended: