Git Product home page Git Product logo

koha-restful's Introduction

Koha REST server
================

Installation notes:
-------------------

Clone the repository:

    git clone git://git.biblibre.com/koha-restful.git $KOHA_REST

Create symlinks into the Koha source directory ($KOHA_SRC):

    ln -s $KOHA_REST/Koha/REST $KOHA_SRC/Koha/
    ln -s $KOHA_REST/opac/rest.pl $KOHA_SRC/opac/
    # This one is optional. It contains unit tests.
    ln -s $KOHA_REST/t/rest $KOHA_SRC/t/

Important note: $KOHA_REST must be absolute path when creating symlinks.

Copy the config directory into the Koha configuration directory ($KOHA_ETC).
It's the one that contains koha-conf.xml after installation (It's usually at
$KOHA_ETC/koha-conf.xml)

    cp -r $KOHA_REST/etc/rest $KOHA_ETC

Install the following package:
    libcgi-application-dispatch-perl

Documentation:
--------------

To know the different webservices exposed, have a look to :
$ perldoc opac/rest.pl

Version information:
--------------------

koha-restful has been tested with Koha 3.8, 3.10 and 3.14.

However Koha 3.8 needs additional patches for koha-restful to fully function:
http://bugs.koha-community.org/bugzilla3/buglist.cgi?quicksearch=7065
http://bugs.koha-community.org/bugzilla3/buglist.cgi?quicksearch=10185

Unit tests:
-----------

To launch unit tests, execute the following command (from the root directory of
koha-restful):
  prove t/rest
  prove t/rest/db_dependant

For db_dependant unit tests you will need to give all privileges to the mysql
user used by Koha on database koha_restful_test.
This database will be removed and then recreated each time you launch the tests.

koha-restful's People

Contributors

bensinober avatar clrh avatar jajm avatar joubu avatar paulpoulain avatar veggiematts avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.