local development environments

15
Local Development Environments by: Joe Casabona [email protected] @jcasabona

Upload: joe-casabona

Post on 14-Jul-2015

130 views

Category:

Technology


1 download

TRANSCRIPT

Local Development Environments

by: Joe Casabona

[email protected] @jcasabona

Who Am I?

2

3

Why this Topic?

4

5

Developing on a live server

Editing theme files through WP admin

Not properly testing.

All Bad!

Possible Solutions!

6

7

Prod should ONLY have working code!

Dev should be for everything else!

Good hosting providers should have this for you

Dev & Prod Servers!

8

Easy Solution! Download and you have a local server

PHP, MySQL, Apache

XAMPP even has a WordPress installer

There are pitfalls…

MAMP | XAMPP

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

Heavy Hitters

10

11

Emulates Servers & Operating Systems

Basis for a lot more advanced tools like…

Virtual Box

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

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

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.

15

Questions?