Productivity 101: Making a
  Easily Re-deployable Dev
Environment with Subversion
            Ryan Duff
         fusionize...
Who Am I?

• Been Involved with WordPress since 2004
• Lover of Open Source and Productivity
• Owner of Fusionized Technol...
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.colla...
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                    Subversi...
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...
Your new workflow:
•   Create svn repo on your svn server

•   Perform a check out of the (empty) svn repo

•   Set the svn:externals propert...
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...
/

 /wordpress

 /wordpress3b2

 /wordpress292
wordpress http://core.svn.wordpress.org/trunk
wordpress/wp-content/plugins/all-in-one-seo-pack http://plugins.svn.wordpres...
Hybrid approach for
   those without
 subversion server
Resources:
•   http://subversion.apache.org/

•   http://svnbook.red-bean.com/

•   http://www.open.collab.net/downloads/subversion.h...
Upcoming SlideShare
Loading in...5
×

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

1,291

Published on

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,291
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide













































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

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

      Clipping is a handy way to collect important slides you want to go back to later.

    ×