[Koha-bugs] [Bug 13799] Add base for building RESTful API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 11 16:42:15 CEST 2015


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

--- Comment #56 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 40092
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40092&action=edit
Bug 13799 - Adding the REST API as a Hypnotoad service, koha-api-daemon.

After running make, the koha-api-daemon.sh -script should be in
../koha-dev/bin/koha-api-daemon.sh

Link it to the init-directory and set up upstart triggers:
..$ ln -s /home/koha/koha-dev/bin/koha-api-daemon.sh
/etc/init.d/koha-api-daemon
..$ update-rc.d koha-api-daemon defaults

Start hypnotoad:
..$ service koha-api-daemon start

Hypnotoad is now listening in 127.0.0.1:8080 and is preconfigured to be
production ready.

Hypnotoad config is in $KOHA_PATH/api/v1/hypnotoad.conf

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


More information about the Koha-bugs mailing list