[dancer-users] changing of default views_directory or port
Stefan Hornburg (Racke)
racke at linuxia.de
Thu May 16 08:08:33 BST 2013
On 05/15/2013 01:56 PM, Rameswara Sashi Kiran Challa wrote:
> Hi,
>
> I recently started using Dancer2 (version 2-0.04 tar.gz from CPAN) to
> develop web apps. I have developed one and am able to run it on the default
> PSGI server at port 3000.
>
> I am trying to change the views_directory within the app script (and not a
> config file) using 'set views => /path/I/want/' as given in the Dancer2
> documentation. However when I deploy the app it by default looks only in
> 'appsdir/views/' directory. Not sure why it doesn't look where I point it
> to.
>
This is a bug in Dancer 2: https://github.com/PerlDancer/Dancer2/issues/251
Not fixed yet, sorry.
> Same issue with changing the port as well. ('set port => 3001")
>
> Checked to see if I have Dancer2::Config module installed and I didn't. I
> tried installing it using cpanm and it had failed to install (as it had
> some tests failed). [Tests that failed from logs: t/logger.t Failed test:2]
>
> I thought I should get a development version from github. Tried installing
> from github using cpanm and I get an error that says "Couldn't find module
> or a distribution git://github.com/PerlDancer/Dancer2.git"
>
> Please let me know what is it that I am missing.
Bug fixes from our team ...
Thanks for the report.
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the dancer-users
mailing list