4 Jul
2016
4 Jul
'16
2:52 p.m.
On 07/04/2016 04:39 PM, Wanjuan Yang wrote:
Hi,
There are 2 environment config file in the dancer web framework.
Where to set which environment file( development.ml or production.yml) is used?
Many thanks, Wendy
Hello Wendy, by default Dancer uses the development environment. If you want a different environment, add an option to the plackup command: plackup -E production Also, you can set the environment variable DANCER_ENVIRONMENT in your shell: export DANCER_ENVIRONMENT=production Regards Racke -- Please visit our 3rd Perl Dancer Conference 2016 in Vienna: https://www.perl.dance/.