Vagrant for developer setup
Upcoming SlideShare
Loading in...5
×
 

Vagrant for developer setup

on

  • 303 views

 

Statistics

Views

Total Views
303
Views on SlideShare
303
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

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

Vagrant for developer setup Vagrant for developer setup Presentation Transcript

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