[Dancer-users] "sensitive" config data in SCM
Mr. Puneet Kishor
punk.kish at gmail.com
Fri Sep 9 01:13:13 CEST 2011
On Sep 8, 2011, at 6:10 PM, David Precious wrote:
> 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?
>
>
indeed, but the config file may be fairly complex (containing not just the db -- the sensitive -- params but also various other params). Giving the entire YMLs, for both environments, would be a complete repo.
Puneet.
More information about the Dancer-users
mailing list