[Dancer-users] "sensitive" config data in SCM

David Precious davidp at preshweb.co.uk
Fri Sep 9 01:10:48 CEST 2011


On Friday 09 September 2011 00:07:51 Mr. Puneet Kishor wrote:
> On Sep 8, 2011, at 1:02 PM, David Precious wrote:
> > I would be inclined to simply put the database config into 
> > environments/production.yml, and not commit that file.
> >
> > So, non-sensitive app config goes in config.yml, but the sensitive stuff
> > is  not included.
> >
> 
> Well, that is not a good option, because that way other users who clone the
> repo don't get everything to make the project work. They will need to
> perform a separate step to recreate production.yml.

Well, they're presumably going to have to set up a database, then put the 
appropriate connection details into the config file, no?


-- 
David Precious  ("bigpresh")
http://www.preshweb.co.uk/

   "Programming is like sex. One mistake and you have to support
   it for the rest of your life". (Michael Sinz)


More information about the Dancer-users mailing list