Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up a code repository for a small web development company

Tags:

svn

I've recently become technical director of a small web development agency and we have a large codebase spread across around 200 websites. The code is in PHP & VBScript and a lot of client side javascript and some complex MySQL queries.

What I'm looking to do is to set up a code repository where we can store all our functions, scripts and files. We've currently got 2 developers working off a network drive holding all the files and this is obviously not an ideal solution.

What I'm wondering is if anyone has been in a similar situation and what they have set up for their code repository. I'm thinking of setting up a remote Subverison filesystem for the server side code.

Can anyone recommend a sensible way to maintain and store our code base? Is Subversion the best option for our situation? We're running a web-facing Solaris server so remote access is a goal of the system. Many thanks.

like image 742
ewengcameron Avatar asked Dec 09 '22 20:12

ewengcameron


2 Answers

Subversion is a great solution for this problem. Subversion is free, and can be sometimes quite complex to setup, if your looking for a quick solution you could try VisualSVN (it has an easy install for windows)

You also have Mercurial for version control, it handles versioning differently.

Install TortoiseSVN on each of your developers workstations, to interact with Subversion.

You should also look at Continuous Integration, with subversion. (for .net I use cruisecontrol.net and TeamCity)

like image 68
Elijah Glover Avatar answered May 07 '23 03:05

Elijah Glover


If you have a dedicated public-facing server, you'll be able to set up Subversion service (or daemon -- or whatever they're called in *NIX world): on Windows you need Svnserve, and on NIXes (and on Windows as well) Apache will do the job.

like image 28
Anton Gogolev Avatar answered May 07 '23 05:05

Anton Gogolev