[Koha-bugs] [Bug 7844] plack scripts for developers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 3 16:30:10 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7844

Alex Arnaud <alex.arnaud at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.arnaud at biblibre.com

--- Comment #4 from Alex Arnaud <alex.arnaud at biblibre.com> ---
This tools are very useful. I have tested installing dependencies using
./cpanm-install.pl on debian squeeze and ubnutu 10.04 and it works on both.

However, opac-plack.sh and intranet-plack.sh seem too specifics insofar as many
informations are hardcoded. For instance,
"KOHA_CONF=/etc/koha/sites/$site/koha-conf.xml" could be
"KOHA_CONF=/home/koha/etc/koha-conf.xml" or others. Also, if i'm not wrong,
scripts assumes that user launching http server consists of the site ($site)
and "-koha". It could be koha.

Plack::Middleware::Static root are also hardcoded ('/srv/koha/koha-tmpl/').

should we not make koha-conf path and user some parameters of this scripts?

For my part, with a few changes, it works well :-)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list