I have just purchased a (dv) account from media temple and I want to begin using subversion, as currently I don't use a code repository at all.

Questions:

  1. Should I setup svn on my (dv) or use something like beanstalk/assembla/etc for hosting my code repository? Basically i'm wondering if it's considered bad practice to have my code repository on the same (dv) that I serve all my websites/apps from?
  2. Should I create a new repository for each website/app that I create or should I just create 1 repository and store all my projects in there?
有帮助吗?

解决方案

  1. I would not put my svn repo on the same server that you serve your websites from. Its a good and easy way to gain redundancy.

  2. Separate repo for each project unless you are 100% sure you are the only developer that is going to touch those projects ever. Even then having them separate would be good. If you are on multiple computers you can just pull in updates for projects you are working on and not everything.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top