News for hackers. Stuff that matters.
Re:Show HN: I was afraid to launch, so I did. Babolog. by sabalaba on Thursday April 07, 2011 @03:18AM (#2418554)
haha nice catch -- forgot to edit that config file when pull/merging dev --> production :) I hope you enjoyed the global variable dumps :)
Re:Show HN: I was afraid to launch, so I did. Babolog. by encoderer on Thursday April 07, 2011 @03:32AM (#2418583)
In Apache I set env variables for dev/staging/prod and pick-up on those in config file.

Much better than having to work with a systems guy to say "svn up, then open the config file and un-comment the production settings at the bottom" or similar, some variant of which I used to do all the time.

Re:Show HN: I was afraid to launch, so I did. Babolog. by mekarpeles on Thursday April 07, 2011 @04:01AM (#2418640)
We're actually doing something similar. Accidentally swapped our config files when the dev conf was added to our mercurial repository. All better now!