[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to manage the same version of the program with juste one differ
Re: How to manage the same version of the program with juste one difference ?
Mon, 10 Sep 2001 12:14:09 -0400
david d wrote:
> Mu problems :
> I developp some internet site in local with php, with some parameters into
> config file like mysql server :
> $host = 'localhost'; -> // fot local test
> $host = 'mysql.provider.fr'; -> // fot online site
> How can I maintained this difference beetween the site delveleopped locally
> and the other one online.
Anything that depends on the build environment should be in the build system,
not in the version control system. If the config is relatively small, you could
keep a 'development' copy and a 'production' copy, and simply use the one you
want when you create a 'build'. There may be other ways to accomplish the same
thing depending on your environment.