CC BY-SA 3.0 Justin Filip
- https://creativecommons.org/licenses/by-sa/3.0/
Code resources available at: https://github.com/jfilip/vagrant-workshop
Have you ever heard or used the phrase “well, it worked on my machine”? Have you ever tried to replicate your production environment locally and found it to be incredibly difficult, hard to accurately reproduce or completely impossible? Are you trying to do anything at all on a Windows machine?
Vagrant is probably the answer to all of your problems. Whether you are developing by yourself, working with a team, or pushing to a very specific production environment, Vagrant can help you build repeatable, reliable virtual machines in Windows, Mac OS and Linux dev environments.
We will be using Vagrant to create a Ruby development environment that will allow us to create a sample Rails application running on a PostgreSQL database backend. We will touch on topics such as:
• box discovery and providers
• machine provisioning
• plugins
• deployment
This workshop is suited for developers and people involved in deployment and release management. Designers who work in an existing code base for applications in development could also benefit from learning how to create a contained, sane environment to work in.
No coding or Virtual Machine experience is required but it will help with understanding advanced concepts.