Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Better WordPress development with Vagrant @ WordCamp Mumbai 2015

Better WordPress development with Vagrant @ WordCamp Mumbai 2015

Gaurav Pareek

March 07, 2015
Tweet

Other Decks in Programming

Transcript

  1. Better WordPress development with
    Vagrant
    Gaurav Pareek
    twitter.com/grvruulz
    plus.google.com/+GauravPareek

    View full-size slide

  2. WHO??
    Gaurav Pareek
    GNU/Linux activist
    WordPress Developer
    UI/UX hacker
    Typography geek

    View full-size slide

  3. Problem
    Existing dev(with partial info on reproducing a dev
    environment)
    +
    New dev (with shiny new machine, and no information)
    =
    Inconsistent development environments
    (and weird bugs)

    View full-size slide

  4. Problem
    If (Dev Environment != Production Environment )
    “Works On My Machine” syndrome

    View full-size slide

  5. Problem
    I'm a Designer,
    What is Apache???

    View full-size slide

  6. Local Development Environments

    XAMPP

    MAMP

    LAMP via package managers in GNU/Linux

    Homebrew packages in Mac OS

    IIS on Windows (Does anyone even use this??)

    View full-size slide

  7. Breaking up is HARD

    View full-size slide

  8. What if ?!?
    $~ git clone myproject
    $~ cd myproject
    $~ magic command
    Open browser

    View full-size slide

  9. Enter Vagrant
    $~ git clone myproject
    $~ cd myproject
    $~ vagrant up
    Open browser

    View full-size slide

  10. What
    A tool to create and manage portable, easily
    reproduceable, virtualized and sandboxed
    development environments for software projects.

    View full-size slide

  11. Why

    Good for developers.

    Good for teams.

    Good for designers and theme testers.

    View full-size slide

  12. Components

    Virtualbox/Vmware

    Ruby

    Puppet/Chef/Bash for provisioning

    View full-size slide

  13. Time for the Demo

    View full-size slide

  14. Going Further

    https:/
    /www.vagrantup.com/

    https:/
    /github.com/grvrulz/WCMum2015

    https:/
    /github.com/Varying-Vagrant-Vagrants/VVV

    https:/
    /github.com/gau1991/easyengine-vagrant/

    View full-size slide

  15. Questions?
    (Sandwich Time )

    View full-size slide

  16. Thank you for listening

    View full-size slide