Skip to content

nugged/KohaSuomiServices

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koha Suomi Services

Koha Suomi services for different interfaces

Getting Started

Clone this repo to your server and set up configuration file koha_suomi_services.conf to the root.

Prerequisites

Install these CPAN packages to your environment. There is also a script in scripts/Install.sh for automating this.

Config file

Add config file to root directory. Copy koha_suomi_services.conf.example to koha_suomi_services.conf and change values to match your system.

Apache proxy pass

Add proxy pass to Apache to access the service. Change port to match your Mojolicious port.

ProxyPass /service http://localhost:3000 keepalive=On
ProxyPassReverse /service http://localhost:3000

Create databases

You can use same database user as Koha uses, remember to grant permissions.

mysql -u root -p
CREATE DATABASE <databasename>
GRANT ALL ON <databasename>.* TO 'kohaadmin'@'localhost' IDENTIFIED BY '{koha user password}';
FLUSH PRIVILEGES;
QUIT

Running the service

Start:

script/koha_suomi_services_daemon.sh start

Stop:

script/koha_suomi_services_daemon.sh stop

Restart:

script/koha_suomi_services_daemon.sh restart

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 80.8%
  • JavaScript 14.0%
  • Raku 4.0%
  • Shell 1.1%
  • CSS 0.1%