• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Virtualized development - Sunshine PHP
 

Virtualized development - Sunshine PHP

on

  • 1,710 views

 

Statistics

Views

Total Views
1,710
Views on SlideShare
1,709
Embed Views
1

Actions

Likes
1
Downloads
6
Comments
0

1 Embed 1

http://librosweb.es 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Virtualized development - Sunshine PHP Virtualized development - Sunshine PHP Presentation Transcript

    • VIRTUALIZED DEVELOPMENT Juozas Kaziukėnas // juokaz.com // @juokaz
    • Juozas Kaziukėnas, LithuanianYou can call me JoeMore info http://juokaz.com
    • LOCAL DEV SETUP IS HARD
    • MIRROR PRODUCTION
    • IF THINGS WORK LOCALLY, THEY WILL WORK IN PRODUCTION*
    • REPLICATING BUGS
    • DATABASE SLICE
    • SETTING UP DEVENVIRONMENTS
    • TRICKY
    • TIME CONSUMING
    • EVERYTHING STILL BREAKS
    • NEED TO AUTOMATE
    • SHELL SCRIPTS ARE NOT A SOLUTION
    • BRAINFUCK
    • CHEF OR PUPPET
    • PUPPET
    • RECIPES DESCRIBING A SERVER
    • PUPPET EXAMPLE$php = ["php5","php5-xdebug"]package { $php: ensure => "installed" }
    • PUPPET EXAMPLE$php = ["php5","php5-xdebug"]package { $php: ensure => "installed" }package { "apache2": ensure => present,}
    • PUPPET EXAMPLE$php = ["php5","php5-xdebug"]package { $php: ensure => "installed" }package { "apache2": ensure => present,}service { "apache2": ensure => running, enable => true, require => Package[apache2], subscribe => [File["/etc/apache2/mods-enabled/rewrite.load"], File["/etc/apache2/sites-available/default"]],}
    • PUPPET EXAMPLEfile { "/etc/apache2/sites-available/default": ensure => present, source => "/vagrant/manifests/default",}
    • PUPPET EXAMPLEfile { "/etc/apache2/sites-available/default": ensure => present, source => "/vagrant/manifests/default",}exec { "install_phpunit": command => "/usr/bin/pear install pear.phpunit.de/PHPUnit", require => [Package[php-pear], Exec[/usr/bin/pear config-set auto_discover 1]], creates => "/usr/bin/phpunit"}
    • WHAT TO USE LOCALLY
    • NEED A VM?
    • THE COOLEST THING I LEARNED LAST YEAR
    • BECAUSE IM LAZY
    • VAGRANT
    • VAGRANTNounA person without a settled home or regular workwho wanders from place to place and lives bybegging.
    • TOOL TO BUILD A LOCAL CLOUD
    •   BUILDING VMS
    • RUBYGEM FOR MANAGING VIRTUAL MACHINES
    • IMPROVE DEVELOPMENT
    • MADE DEVELOPERS VERY HAPPY
    • MADE HIRING VERY EASY
    • MADE COMPLICATEDDEVELOPMENT EASY
    • NO LOCAL MACHINE MESSING UP 
    • SETUP NOW
    • INSTALL VAGRANT
    • GIT CLONE REPO
    • VAGRANT UP
    •   PREDICTABLE, STABLE AND MANAGEABLE
    • VAGRANT
    • BASEBOX
    • PORT FORWARDING
    • SHARED FOLDERS
    • NO NEED TO DEPLOY
    • FEELS LOCAL
    • VAGRANT SSH
    • LOCAL CLOUD
    • VERSION CONTROL
    • SHARE VMS
    • DEMO!!!
    • THANKS