[Dancer-users] Plugin::Database - suggestion to read username/password from a different file

Nick Knutov mail at knutov.com
Mon Sep 26 13:46:06 CEST 2011


There are config files for each environment ('development','production', 
etc). They should not contain filled password and sensitive information 
if vcs used. Any local copy of project should contain _copy_ (with 
_different_ name) of desired config with filled passwords.

Another way to do the same is to create an "-example" version of this 
configs by default and force users to copy them to usual configs 
('production-example' to 'production') as Michal Wojciechowski wrote.

26.09.2011 3:35, Natal Ngétal пишет:
>> May be it's better to write more clear documentation about different
>> environment' configs and use them as they should be used instead of
>> implementing square wheel?
> I'm not sure I understand all do you mean.

-- 
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130


More information about the Dancer-users mailing list