baltimore php - october 2013- development environments made easy

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

Upload: chris-stone

Post on 09-Jul-2015

1.075 views

Category:

Technology


2 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Baltimore PHP - October 2013- Development Environments Made Easy

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

Page 2: Baltimore PHP - October 2013- Development Environments Made Easy

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 !

[email protected] •@cmstone

Page 3: Baltimore PHP - October 2013- Development Environments Made Easy
Page 4: Baltimore PHP - October 2013- Development Environments Made Easy

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)

Page 5: Baltimore PHP - October 2013- Development Environments Made Easy

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

Page 6: Baltimore PHP - October 2013- Development Environments Made Easy

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....

Page 7: Baltimore PHP - October 2013- Development Environments Made Easy
Page 8: Baltimore PHP - October 2013- Development Environments Made Easy

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

Page 9: Baltimore PHP - October 2013- Development Environments Made Easy

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

Page 10: Baltimore PHP - October 2013- Development Environments Made Easy

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

0 to Hero

Page 11: Baltimore PHP - October 2013- Development Environments Made Easy

THANKS!LEAVE FEEDBACK!

!!!!!!!!!

https://joind.in/9757

Reach out to me @cmstone or [email protected]