[symfony-users] Re: different configuration between local and live machines

2007-10-13 Thread Jonathan Franks
Thanks Eno, I was wondering whether using svn might be the answer, or some other external app - Capistrano2 looks very interesting. However, at the moment I'm using the symfony sync method which is so nice and simple. Ideally, I would like a solution that works with the sync command and is rea

[symfony-users] Re: different configuration between local and live machines

2007-10-13 Thread Jonathan Franks
Thanks Dan. I thought about doing something like you suggested. For instance configuring the prod environment for the live server and creating a local_prod environment for final testing on my local machine. Is that what you mean? I wonder if this method has any inherent problems? Regards Jo

[symfony-users] Re: different configuration between local and live machines

2007-10-12 Thread Dan Grossman
Create different environments for each, and if you can't be bothered to switch a variable indicating which environment you're using somewhere between the two servers, write a snippet to detect it from the URL/hostname. http://www.symfony-project.com/book/1_0/05-Configuring-Symfony#Environments

[symfony-users] Re: different configuration between local and live machines

2007-10-12 Thread Eno
On Oct 12, 4:49 pm, Jonathan Bryan <[EMAIL PROTECTED]> wrote: > As well as the database settings, I have a number of other settings that > need to change depending on whether they are on the live server or my > local development machine. (for instance, for turning distant analytics > on/off) May