• Like
  • Save
Productivity 101: Making a Easily Re-deployable Dev Environment with Subversion
Upcoming SlideShare
Loading in...5
×
 

Productivity 101: Making a Easily Re-deployable Dev Environment with Subversion

on

  • 1,511 views

 

Statistics

Views

Total Views
1,511
Views on SlideShare
1,494
Embed Views
17

Actions

Likes
3
Downloads
22
Comments
0

1 Embed 17

http://www.slideshare.net 17

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

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
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Productivity 101: Making a Easily Re-deployable Dev Environment with Subversion Productivity 101: Making a Easily Re-deployable Dev Environment with Subversion Presentation Transcript

  • Productivity 101: Making a Easily Re-deployable Dev Environment with Subversion Ryan Duff fusionized.com
  • Who Am I? • Been Involved with WordPress since 2004 • Lover of Open Source and Productivity • Owner of Fusionized Technology (http://fusionized.com)
  • Mini Me
  • About You...
  • How do you set up new development environments or client projects?
  • Do you... • Grab a specific copy of WordPress? • Download your “standard” plugins? • Download a (few) themes?
  • All three?
  • And then some?
  • Have you heard of DRY?
  • Don’t Repeat Yourself
  • Why repeat time doing something over and over?
  • What this presentation is about...
  • • Saving yourself time • Saving your clients money • Simplifying your workflow
  • There are three ways to set up a stock install...
  • • Manual • Virtual Machine • Subversion Repository
  • Lets evaluate each method...
  • Manual • Labor Intensive • Has to be repeated every time • No real organization • Easy to change or customize
  • Virtual Machine • Labor intensive in the beginning • Easy to re-deploy • Hard to update
  • Subversion • Slightly labor intensive in the beginning • Fairly easy to update • Easy to change or customize
  • And the winner is...
  • Subversion (of course)
  • A few requirements:
  • • Subversion server • Subversion client • Some repository URLs • A plan
  • Subversion Server Resources • http://subversion.apache.org/ • http://svnbook.red-bean.com/ • http://www.open.collab.net/downloads/ subversion.html
  • Lets get started...
  • svn:externals
  • The subversion property that ties everything together
  • Three Parts:
  • Revision (optional) wordpress -r14488 http://core.svn.wordpress.org/trunk Local Folder Subversion Path
  • Setting svn:externals
  • svn propedit svn:externals .
  • A sample...
  • wordpress -r14488 http://core.svn.wordpress.org/trunk wordpress/wp-content/plugins/all-in-one-seo-pack http://plugins.svn.wordpress.org/all-in-one-seo-pack/tags/1.6.10.2 wordpress/wp-content/plugins/google-sitemap-generator http://plugins.svn.wordpress.org/google-sitemap-generator/tags/3.2.3 wordpress/wp-content/themes/motion http://themes.svn.wordpress.org/motion/1.0.5
  • Your new workflow:
  • • Create svn repo on your svn server • Perform a check out of the (empty) svn repo • Set the svn:externals property on your local svn copy • Preform a check in of your local svn copy • Run a svn up on your local copy to grab all your new external sources
  • A more advanced scenario...
  • Multiple WordPress versions:
  • wordpress http://core.svn.wordpress.org/trunk //trunk wordpress3b2 -r14488 http://core.svn.wordpress.org/trunk //3.0 Beta 2 wordpress292 http://core.svn.wordpress.org/tags/2.9.2 //2.9.2
  • / /wordpress /wordpress3b2 /wordpress292
  • wordpress http://core.svn.wordpress.org/trunk wordpress/wp-content/plugins/all-in-one-seo-pack http://plugins.svn.wordpress.org/all-in-one-seo-pack/tags/1.6.10.2 wordpress/wp-content/plugins/google-sitemap-generator http://plugins.svn.wordpress.org/google-sitemap-generator/tags/3.2.3 wordpress/wp-content/themes/motion http://themes.svn.wordpress.org/motion/1.0.5 wordpress3b2 -r14488 http://core.svn.wordpress.org/trunk wordpress3b2/wp-content/plugins/all-in-one-seo-pack http://plugins.svn.wordpress.org/all-in-one-seo-pack/tags/1.6.10.2 wordpress3b2/wp-content/plugins/google-sitemap-generator http://plugins.svn.wordpress.org/google-sitemap-generator/tags/3.2.3 wordpress3b2/wp-content/themes/motion http://themes.svn.wordpress.org/motion/1.0.5 wordpress292 http://core.svn.wordpress.org/tags/2.9.2 wordpress292/wp-content/plugins/all-in-one-seo-pack http://plugins.svn.wordpress.org/all-in-one-seo-pack/tags/1.6.10.2 wordpress292/wp-content/plugins/google-sitemap-generator http://plugins.svn.wordpress.org/google-sitemap-generator/tags/3.2.3 wordpress292/wp-content/themes/motion http://themes.svn.wordpress.org/motion/1.0.5
  • Hybrid approach for those without subversion server
  • Resources:
  • • http://subversion.apache.org/ • http://svnbook.red-bean.com/ • http://www.open.collab.net/downloads/subversion.html • http://markjaquith.wordpress.com/2005/11/02/my-wordpress-toolbox/ • http://blog.ftwr.co.uk/archives/2005/11/03/windows-wordpress-toolbox/
  • Let’s take the new car for a spin...
  • ... and practice what we just learned