473,395 Members | 1,526 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

What is the best SVN setup for a web development project?

Niheel
2,460 Expert Mod 2GB
I am looking for ideas on how to setup source control for web development projects?

We have a live server, a development server, multiple workstations for developers and are planning on using Subversion for source control.

These projects use databases so we need ideas on how to manage database changes too.
Dec 16 '09 #1
2 2489
nathj
938 Expert 512MB
Hi,

We are in a similar situation and are succesfully using SVN as our source control. We also use Tortoise SVN as the windows client and Versions as the Mac client.

This works really well for us having set up users on SVN we can track the owner of the changes.

As for the file structure I tend to run a locallatest directory that then has the code in there. The organisation of the code is then in accordance with the project in question.

So, in a nutshell I have locally:
E:\locallatest\Code\ProjectName\src\.......

Then on the Server there is a C:\svn\repos directory that is the SVN repository.

Using the client like Tortoise makes setup and management really easy. You just need to update the passwd and auth files to add users to the system.

One final tip wold be to have each user follow the same structure for local files and have a policy of checking in all code each day AND only checking in compiled code.

I hope that helps.
nathj
Dec 23 '09 #2
RedSon
5,000 Expert 4TB
If you database files are in binary they will only be atomic commits that cannot be diffed. If you want to track individual database changes you will need to output the database as a series of SQL statements each time and check that in.

As for you SVN setup your svn repo should mirror the file structure on your server. For example if you are serving bytes.com from /srv/bytes with config files located in /etc/apache2 then your subversion repo should have both /srv/bytes under version control and /etc/apache2 under version control. When you make changes to the code base and have tested it on your workstations, you should then tag that current revision and deploy it to the development server. If the changes go through a full test pass on the dev server and pass then that is the time that a branch should be created and then rolled out to the main site.

When bugs are identified they should be fixed on the branch. Development should continue on the trunk where new features and enhancements are written.

We can go over this in much more detail via IM or PM or whatever you like.
Dec 23 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
1
by: Kanaiya | last post by:
hello i want to create setup of project in vc#. how to do it. -- With regards, Gangani Kanaiya.
3
by: hangten | last post by:
I have created a setup project for my application. Within this setup project I need to install another .exe file. When I add the .exe file to the setup program, I get a message "unable to find...
6
by: Mark Broadbent | last post by:
this might sound like an obvious question but I have found that usually these two evolve at the same time. One of the biggest reasons for creating the abstraction in the first place (in my...
0
by: anthony | last post by:
Hi, I have a MSCOMM object on my VB.NET project. When I run the program in development environment, everything is running fine. So I added a setup project to create a setup program, when I was...
5
by: BK | last post by:
We've got a fairly large scale development process under way in .NET 2003. We are about a month away from go-live for phase 1, second phase is rather short and all work should be completed in the...
6
by: John | last post by:
Hi, I have a web project, that includes an App_Code folder - code in this folder gets built into a dll, but I have no control over the name of this dll. If I create a web setup project, all...
1
by: =?Utf-8?B?RG91Zw==?= | last post by:
We have a very large code base and use the partitioned solution model for development and deployment. The problem is that in .NET 2005 the setup projects cause severe performance problems when...
1
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi misters, I continue installing; my production PC is Windows 2003; development environment: using VS 2005 in Windows XP for create Setup Project Now, I need install Acrobat Reader...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.