This repository contains PostgreSQL functions to help you develop applications that contain calendar events at their core. The core of this repository also has a C extension that helps parse rules and generate events based on them.
These instructions will get you a copy of the project up and running on your local machine and test it.
This is an alpha version of the extension, so there is no instruction on how to run it in production. You can try it in the docker.
docker build . -t recurrent-event
docker-compose up
su postgres
cat /home/script/*.sql | psql postgres
cat /home/script/event/*.sql | psql postgres
If you would like to see the capabilities of this extension, you can see the file example_of_work.sql
Now it has not got script for automate installing to your database. For installing you need to
- Install pg_rrule extension. Link
- Run all sql files from ./src expect ./scr/test folder
There is no automatic tests build-in in PostgreSQL, so you can run scripts from .src/event/test dir.
Will be formatted according to this manual.
THIS IS AN ALPHA VERSION!
You can use docker to test is.
- pg_rrule - C-extension for parsing iCalendar recurrent rules for events.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Karpovich Alexandr - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details