SVN + MediaTemple

I want to start out by talking a little bit about an important part of the dev process for this site that makes things extremely easy on my brainpart.  using and configuring SVN stuff might make you want to poke your eyes out at times.  I totally understand that.  But thankfully, I have some friends that force me to see the light from time to time.

Here’s the skinny.  I use subclipse since i’m a as3 guy and eventually this site will naturally contain a great deal of flash for front-end, so what i want to do is have a repository on my gridserver and be able to svn up my live source.

Here are some resources to get you started:

http://kb.mediatemple.net/questions/143/Using+Subversion

http://www.breakitdownblog.com/using-mediatemples-subversion-svnssh-with-eclipse/

http://mitchellhashimoto.com/subversion-on-mediatemple/

http://www.bit-101.com/blog/?p=1060

You’ll find that there is some conflicting material and if you get frustrated with the eclipse part, jump to bit-101.  His stuff finally set me straight.

So, if you got this far, the final step is to set up your live source… in my case, i am using www/src in my repository, but bladamir.com/html

before you run these next commands make sure that you are in your ./html directory!

svn co svn+ssh://serveradmin%<domain>@<domain>/home/#####/data/<your repository>/trunk/www/src ./

if you already have stuff in your html directory like i did:

svn add ./ –force

svn ci –message “www/src first commit”

all done! if everything worked out, for you, now you can svn up from your html directory via ssh and blam! it’s live. thanks to Husani and Tim for their guidance.

Posted: May 29th, 2009 | Author: | Filed under: references | Tags: , , , , , , | 2 Comments »