Baltimore PHP - October 2013- Development Environments Made Easy

Post on 09-Jul-2015

1.075 views 2 download

Tags:

description

An intro to using vagrant in development environments to make life easy.

Transcript of Baltimore PHP - October 2013- Development Environments Made Easy

Development Environments Made Easy with Vagrant and Puppet w/ Chris Stone

WHO IS CHRIS STONE?•Community Guy •Meetup Organizer - Baltimore PHP/Mobile/API •Partner @ E-Moxie - www.emoxie.com •PHP Developer, System Administrator - Wears ALL of the hats •Always looking to maximize efficiencies and make life easier •Tinkerer •I’ve been around for awhile, I’ve seen some things •Outside of work things: Dad, Home automation is a hobby, movie guy !

•chris@emoxie.com •@cmstone

WHAT IS VAGRANT?•Awesome •Life changing •New kid on the block •The #1 tool you should have in your development arsenal •Development tool that every developer and project should be using •Manager for a virtualization provider (VirtualBox, VMWare, etc) •Automates your development environment (Puppet or Chef)

WHY VAGRANT•Gets rid of the “it works for me” •EASY and FAST •Everyone on the same page •Closely resembles a production environment •Keeps your computer clean •Low barrier to entry

HOW IT IS NOW (PAINFUL!)1. Someone new joins your company or team 2. They need to get their development environment setup 3. It takes 2 days to1week to get up and running 4. Install an IDE 5. Install MAMP or XAMP or something else that can serve pages 6. Make sure the PHP version is the same 7. Make sure the PHP config is the same 8. Install additional extensions 9. Configure MAMP 10. Always tackle “it’s working for me” problems in the environment 11. Environment relies on the local machine. Screwed it up? Do it again. 12. Production environment got updated? Let’s make sure everyone updates to the right version, do it again. Sounds fun....

HOW IT COULD BE1. Someone new joins your company or team 2. They need to get their development environment setup 3. Install IDE 4. Install VirtualBox 5. Install Vagrant 6. Run ‘vagrant up’ 7. Make things

WHAT DO I NEED1. Vagrant - vagrantup.com 2. VirtualBox - virtualbox.org 3. PuPHPet - puphpet.com - GREAT Kickstarter to get you going

ENOUGH TALKLet’s get a simple vagrant box setup and walk through the moving parts.

0 to Hero

THANKS!LEAVE FEEDBACK!

!!!!!!!!!

https://joind.in/9757

Reach out to me @cmstone or chris@emoxie.com