Vagrant for developer setup

244 views
232 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
244
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Vagrant for developer setup

  1. 1. VAGRANT FOR DEVELOPER SETUPRiccardo Ferretti
  2. 2. VAGRANTdynamically create and configure portable work environments
  3. 3. INSTALLATION1INSTALLVIRTUALBOX2INSTALLVAGRANT
  4. 4. precise32myboxcentos5.6PROVIDER BASE BOX PROVISIONER
  5. 5. HOST/GUEST INTERACTIONVM ON NETWORKPORT FORWARDINGSHARED FOLDERS
  6. 6. VAGRANT FOR DEVELOPERSFromTo
  7. 7. CREATE AVIRTUAL MACHINEprecise32APTAPACHEMY PROJECT1choose a base box2configure port and folders3provision
  8. 8. precise32
  9. 9. ADVANTAGESEASY PROJECT SETUPREPRODUCIBLESANDBOXSETUP IS CODE
  10. 10. EASY PROJECT SETUP
  11. 11. SANDBOX
  12. 12. REPRODUCIBLE AND PORTABLE
  13. 13. REPRODUCIBLE AND PORTABLE
  14. 14. REPRODUCIBLE AND PORTABLE
  15. 15. SETUP IS CODEVERSION CONTROLTESTITERATEDOCUMENT
  16. 16. CHALLENGESFILE SYNCHRONISATIONTOOLS
  17. 17. FILE SYNCHRONISATIONCODEBASELOGS
  18. 18. TOOLSHOST MACHINE VIRTUAL MACHINE
  19. 19. USE CASEVAGRANT FORWEB DEVELOPER
  20. 20. VAGRANT FOR WEB DEVELOPERprecise32APT APACHE2JS SDK: APACHE VHOSTNODEJS NPMPHANTOMJS GRUNTSASS
  21. 21. PROJECTSCRIPTENTRY POINTDELEGATEVM SETUPDNS ON HOST MACHINEPORT FORWARD ON HOSTMACHINEVAGRANTSCRIPTINVOKED BY PROJECT SCRIPTSET UPVMGUI
  22. 22. USE CASEVAGRANT FORJAVA DEVELOPER
  23. 23. VAGRANT FOR JAVA DEVELOPERAPTSLR: LINK LOGSJAVA6TOMCAT7MAVEN3SLR: AUTOMATIONprecise32
  24. 24. SETUP
  25. 25. AUTOMATIONVIAVAGRANT?INSTALL RUBYINSTALL GUARD GEMCREATE GUARD SERVICE
  26. 26. PROSMINIMAL SET UPTIMEDEBUG BY CONNECTINGTO JVM“HOT RELOAD” VIA GUARDIDE AGNOSTICCONSEXTRA MAGICAUTOMATION “OUTSIDE”VAGRANT SCOPEJAVA IDEs SUPPORT HOT RELOAD
  27. 27. CONCLUSIONFAST,AUTOMATED,TESTABLE, REPRODUCIBLE SETUPSETUP IS CODEBUILD ONCE, RUN EVERYWHERENOT ONLY IN DEV
  28. 28. IN MY EXPERIENCECOMBINATION OFVM AND HOST MACHINE SETUPWORKS GREAT WITH LIGHTWEIGHT EDITORSTRADEOFF WHEN USING IDEs
  29. 29. SPEEDPROD?
  30. 30. SPEEDPROD+= ?vagrant,on yourbox
  31. 31. VAGRANT FOR DEVELOPER SETUPFromToRiccardo Ferretti

×