Virtualized development - Lone Star PHP

  • 490 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
490
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. VIRTUALIZED DEVELOPMENT Juozas Kaziukėnas // juokaz.com // @juokaz
  • 2. Juozas Kaziukėnas, Lithuanian You can call me Joe More info http://juokaz.com
  • 3. LOCAL DEV SETUP IS HARD
  • 4. MIRROR PRODUCTION
  • 5. IFTHINGS WORK LOCALLY, THEY WILL WORK IN PRODUCTION*
  • 6. REPLICATING BUGS
  • 7. DATABASE SLICE
  • 8. TIME CONSUMING
  • 9. EVERYTHING STILL BREAKS
  • 10. NEEDTO ISOLATE
  • 11. NEEDTO AUTOMATE
  • 12. THE COOLESTTHING I LEARNED LASTYEAR
  • 13. BECAUSE I'M LAZY
  • 14. VAGRANT
  • 15. VAGRANT Noun A person without a settled home or regular work who wanders from place to place and lives by begging.
  • 16. TOOLTO BUILD A LOCAL CLOUD
  • 17.   BUILDINGVMS
  • 18. RUBYGEM FOR MANAGING VIRTUAL MACHINES
  • 19. BASEBOX
  • 20. PORT FORWARDING
  • 21. SHARED FOLDERS
  • 22. NO NEEDTO DEPLOY
  • 23. FEELS LOCAL
  • 24. SETUP NOW
  • 25. INSTALLVAGRANT
  • 26. GIT CLONE REPO
  • 27. VERSION CONTROL
  • 28. SHAREVMS
  • 29. VAGRANT UP
  • 30.   PREDICTABLE, STABLE AND MANAGEABLE
  • 31. VAGRANT SSH
  • 32. LOCAL CLOUD
  • 33. CONFIGURINGTHE MACHINE
  • 34. SHELL SCRIPTS ARE NOT A SOLUTION
  • 35. BRAINFUCK
  • 36. CHEF OR PUPPET
  • 37. PUPPET
  • 38. RECIPES DESCRIBING A SERVER
  • 39. PUPPET EXAMPLE package { "apache2": ensure => present, }
  • 40. PUPPET EXAMPLE package { "apache2": ensure => present, } $php = ["php5","php5-xdebug"] package { $php: ensure => "installed" }
  • 41. PUPPET EXAMPLE package { "apache2": ensure => present, } $php = ["php5","php5-xdebug"] package { $php: ensure => "installed" } service { "apache2": ensure => running, enable => true, require => Package['apache2'], subscribe => [File["/etc/apache2/mods-enabled/rewrite.load"], File["/etc/apache2/sites-available/default"]], }
  • 42. PUPPET EXAMPLE file { "/etc/apache2/sites-available/default": ensure => present, source => "/vagrant/manifests/default", }
  • 43. PUPPET EXAMPLE file { "/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" }
  • 44. IMPROVE DEVELOPMENT
  • 45. MADE DEVELOPERSVERY HAPPY
  • 46. MADE HIRINGVERY EASY
  • 47. MADE COMPLICATED DEVELOPMENT EASY
  • 48. NO LOCAL MACHINE MESSING UP 
  • 49. THANKS! Juozas Kaziukėnas @juokaz