Skip to content

KOBADK/proxy

Repository files navigation

KOBA - Kalender og Booking API

This project is based on Symfony Rest Edition.

Cron setup

To continually update calendar information from the xml files, add a cron job.

$ crontab -e

Add the following line:

*/1 * * * * path_to_php/php path_to_backend/bin/console koba:calendar:update

Initial Installation

 $ composer install
 $ php app/console doctrine:migrations:migrate

Setup JMS/JobQueueBundle

To process booking requests, the jms/job-queue-bundle is used. This requires supervisord. To install see: http://jmsyst.com/bundles/JMSJobQueueBundle/master/installation

Symfony Rest Edition

For the readme for the Symfony REST edition see README-Symfony-rest-edition.md.

The API accepts/returns json by default, but can also handle xml if the following url-parameter is set on requests:

?_format=xml

Scrutinizer

Scrutinizer Code Quality Scrutinizer Code Quality

About

Kalender og Booking i Aarhus

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 7