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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Mar 31 02:49:16 CEST 2012


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

Dobrica Pavlinusic <dpavlin at rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8693|0                           |1
        is obsolete|                            |

--- Comment #3 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Created attachment 8731
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8731&action=edit
Bug 7844 - plack intranet tooling for developers

koha.psgi example and script to run any Koha site intranet or opac under plack

This means that it will use sudo to switch to correct site-koha user for
configuration and plack process

It also defines new enviroment variables:

PLACK_DEBUG=1  - turn Plack debug panels on
PLACK_MINIFY=1 - minify JavaScript and CSS which saves us ~10k on each page
load

Test scenario:
1. install plack and dependencies, using ./cpanm-install.pl

2. start ./intranet-plack.sh sitename

3. open intranet page http://localhost:5001/cgi-bin/koha/mainpage.pl
   and verify that it works

4. start ./opac-plack.sh sitename

5. open OPAC http://localhost:5000/cgi-bin/koha/opac-main.pl
   and very that it works

6. start PLACK_DEBUG=1 ./intranet-plack.sh sitename
   and verify that debug console is available

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


More information about the Koha-bugs mailing list