[Dancer-users] adding a "test" environment

David Precious davidp at preshweb.co.uk
Mon Aug 13 23:21:28 CEST 2012


On Mon, 13 Aug 2012 15:42:20 -0500
Puneet Kishor <punk.kish at gmail.com> wrote:

> We have "development" and "production" environments. Is it possible
> to add a new environment called "test" and have a separate config
> file for it?

I believe you can create environments with whatever names you feel
like, and select them with the -E command-line option or the
DANCER_ENVIRONMENT env var.


-- 
David Precious ("bigpresh") <davidp at preshweb.co.uk>
http://www.preshweb.co.uk/     www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin    www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan        www.preshweb.co.uk/github




More information about the Dancer-users mailing list