Janik von Rotz

1 min read

Vagrant - portable development environment

Today almost every coder uses git or another vcs and a related service like github for code hosting.

As a front end designer twitters bower is the right tool to manage your libary dependencies.

And for the backend developer the npm package manager is always on board.

Those tools have changed the way of developing websites and webapplication.

They’ve increased productivity and the flexibilty for your application.

So far, there’s only one part lagging behind: It’s the development environment.

And yes, also for this part exists a solution. I’m talking about vagrant

It is the lost child in my development workflow, it’s the perfect supplement.

With vagrant and vm provider of your choice (virtualbox, vmware or amazon so far) you’re abble to setup a portable and¬†reproducible development environment. Vargant installs a virtual machine based on virtual appliance, by default vargant syncs your folder with the virtual machines default directory. With this setup you are able to run your code in virtual machine but still code your stuff as it appeals to you on your local host.

Well, that looks interesting, where should I start? For newbies the offical documentation should be fine: https://docs.vagrantup.com/v2/getting-started/index.html

Follow step by step and you’ll run a virtual linux appliance with an apache preinstalled.

Categories: Continuous delivery
Tags: code , machine , portable , vagrant , virtual
Improve this page
Show statistic for this page