[dancer-users] production.yml & development.yml
Stefan Hornburg (Racke)
racke at linuxia.de
Mon Jul 4 15:52:35 BST 2016
On 07/04/2016 04:39 PM, Wanjuan Yang wrote:
> 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,
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:
Please visit our 3rd Perl Dancer Conference 2016 in Vienna: https://www.perl.dance/.
More information about the dancer-users