Has anyone tried to add another environment. When developing I develop locally, deploy to a UAT environment for checking that my stuff fits into the organisations infrastucture and user testing and then deploy to production. test and production are fine. The main problem is that development (I currently hack the the database.yml and drop the test branch to loose some local development mocks when deploying to UAT - not optimal.). I am planning to create a UAT environment, with UAT yml and mocks etc. Has anyone done this and does anyone know of any major gotchas ahead? Thanks Tom
on 2006-03-11 19:00
on 2006-03-11 22:07
On 3/11/06, Tom Ayerst <firstname.lastname@example.org> wrote: > I am planning to create a UAT environment, with UAT yml and mocks etc. > > Has anyone done this and does anyone know of any major gotchas ahead? > Works fine for me. Just create a new entry in database.yml called 'acceptance', and copy your production.rb file (under config/environments) into acceptance.rb. You may want to use the 'log_level' config statement to specify a different level of logging for UAT than you use in production.
on 2006-03-12 11:01
Thanks, works a treat.