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

Local Development Environments

Joe Casabona
December 16, 2014

Local Development Environments

This was a short talk I gave at a local WordPress meetup, where I discussed all of the ways I've developed code, from doing it live to using Vagrant and Capistrano.

Joe Casabona

December 16, 2014
Tweet

More Decks by Joe Casabona

Other Decks in Programming

Transcript

  1. 3

  2. 5 Developing on a live server Editing theme files through

    WP admin Not properly testing. All Bad!
  3. 7 Prod should ONLY have working code! Dev should be

    for everything else! Good hosting providers should have this for you Dev & Prod Servers!
  4. 8 Easy Solution! Download and you have a local server

    PHP, MySQL, Apache XAMPP even has a WordPress installer There are pitfalls… MAMP | XAMPP
  5. 9 Great place to keep code Versioning Automatic Backups Fantastic

    for trying things out Fantastic for Teams Good hosts will let you deploy code from git! Git | Github
  6. 11 Emulates Servers & Operating Systems Basis for a lot

    more advanced tools like… Virtual Box
  7. 12 “Create and configure lightweight, reproducible, and portable development environments.”

    Vagrant Set up a config file Spin up a temp server Tear it down when you’re done or need to start 
 over Resource: Varying Vagrant Vagrants
  8. 13 VVV “The primary goal of Varying Vagrant Vagrants (VVV)

    is to provide an approachable development environment that matches a typical production environment.” Resource: Varying Vagrant Vagrants
  9. 14 “A remote server automation and deployment tool written in

    Ruby" Capistrano Spin up local servers Deploy from your machine to a server Integrates with git Complete Magic.