[Koha-devel] Clarification of Plack wiki insructions

Renvoize, Martin martin.renvoize at ptfs-europe.com
Tue Jan 6 14:54:15 CET 2015


I have to admit I've got lost in the plack scheme now..

Could we get some clarification on approaches..  We have 'Plack for
developers' pushed (bug 7844
<http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7844>), 'Plack
with nginx for production' in testing (bug 9316
<http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9316>) and I'm
aware of at least two koha-plackify scripts lurking around,
Plackify-koha-common <https://github.com/JerseyConnect/Plackify-koha-common>,
koha-plack <http://git.catalyst.net.nz/gw?p=koha-plack.git>.

I wonder if we can safely recommend/or safely discard any of these to help
clarify the 'best practice' approaches and get this moving forward again.

Martin Renvoize
Software Engineer, PTFS Europe Ltd
Content Management and Library Solutions
Skype:
Landline: 0203 286 8685
Mobile: 07725985636

http://www.ptfs-europe.com

On 18 December 2014 at 11:12, Dobrica Pavlinusic <dpavlin at rot13.org> wrote:

> On Thu, Dec 18, 2014 at 05:03:41AM -0500, Mark Tompsett wrote:
> > Greetings,
> >
> > I am trying to set up plack. I found some instructions here:
> > http://wiki.koha-community.org/wiki/Plack
> >
> > "This instructions assume that your Koha checkout is /srv/koha. If it's
> in
> > some other location, you have to change /srv/koha to correct folder
> > throughout all scripts below.
> > Create following file and call it opac.psgi"
> >
> > Great, except I'm not sure where opac.psgi goes. Let's say I have a git
> > install: /home/mtompset/kohaclone. Where does opac.psgi go?
> > Let's say I have a package install: /usr/share/koha. Where does opac.psgi
> > go?
>
> It doesn't really matter. You will start plackup with path to your
> opac.psgi, so you can put it anywhere. I prefer to keep it in misc/plack
> under my installation, but this is just personal preference.
>
> > And am I correct to assume that /srv/koha is to be substituted with those
> > either of those paths that I have given?
>
> Yes. /srv/koha is path to my checkout, so if yours is
> /home/mtompset/kohaclone just use that.
>
> > Help and clarification would be appreciated.
>
> Hope this helps. We should really cleanup that page, but since we don't
> have official way to install plack it's all duck tape for now :-)
>
> --
> Dobrica Pavlinusic               2share!2flame
> dpavlin at rot13.org
> Unix addict. Internet consultant.
> http://www.rot13.org/~dpavlin
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20150106/9028abf5/attachment.html>


More information about the Koha-devel mailing list