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

  • 1,240 views
Uploaded on

 

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,240
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
22
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide













































Transcript

  • 1. Productivity 101: Making a Easily Re-deployable Dev Environment with Subversion Ryan Duff fusionized.com
  • 2. Who Am I? • Been Involved with WordPress since 2004 • Lover of Open Source and Productivity • Owner of Fusionized Technology (http://fusionized.com)
  • 3. Mini Me
  • 4. About You...
  • 5. How do you set up new development environments or client projects?
  • 6. Do you... • Grab a specific copy of WordPress? • Download your “standard” plugins? • Download a (few) themes?
  • 7. All three?
  • 8. And then some?
  • 9. Have you heard of DRY?
  • 10. Don’t Repeat Yourself
  • 11. Why repeat time doing something over and over?
  • 12. What this presentation is about...
  • 13. • Saving yourself time • Saving your clients money • Simplifying your workflow
  • 14. There are three ways to set up a stock install...
  • 15. • Manual • Virtual Machine • Subversion Repository
  • 16. Lets evaluate each method...
  • 17. Manual • Labor Intensive • Has to be repeated every time • No real organization • Easy to change or customize
  • 18. Virtual Machine • Labor intensive in the beginning • Easy to re-deploy • Hard to update
  • 19. Subversion • Slightly labor intensive in the beginning • Fairly easy to update • Easy to change or customize
  • 20. And the winner is...
  • 21. Subversion (of course)
  • 22. A few requirements:
  • 23. • Subversion server • Subversion client • Some repository URLs • A plan
  • 24. Subversion Server Resources • http://subversion.apache.org/ • http://svnbook.red-bean.com/ • http://www.open.collab.net/downloads/ subversion.html
  • 25. Lets get started...
  • 26. svn:externals
  • 27. The subversion property that ties everything together
  • 28. Three Parts:
  • 29. Revision (optional) wordpress -r14488 http://core.svn.wordpress.org/trunk Local Folder Subversion Path
  • 30. Setting svn:externals
  • 31. svn propedit svn:externals .
  • 32. A sample...
  • 33. 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
  • 34. Your new workflow:
  • 35. • 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
  • 36. A more advanced scenario...
  • 37. Multiple WordPress versions:
  • 38. 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
  • 39. / /wordpress /wordpress3b2 /wordpress292
  • 40. 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
  • 41. Hybrid approach for those without subversion server
  • 42. Resources:
  • 43. • 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/
  • 44. Let’s take the new car for a spin...
  • 45. ... and practice what we just learned