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

Dobrica Pavlinusic <[email protected]> changed:

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

--- Comment #3 from Dobrica Pavlinusic <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to