Open Loyalty is technology for loyalty solutions. It's a loyalty platform in open source, with ready-to-use gamification and loyalty features, easy to setup and customize, ready to work on-line and off-line.
This project has full support for running in Docker.
Best way to run it is to execute the following command
docker-compose up
(docker must be installed on your machine).
There is also an option to run this without docker, but in such case following a set of the tool will be needed:
- php7
- MySql or PosstgreSql
- Elasticsearch 2.2
Simply clone this repository, run
composer install
and fill up all required parameters. Then use Phing to setup database, elastcsearch and load some demo data
phing setup
(if you are using docker, remember to run those command inside container)
This project is based on CQRS, DDD and event sourcing, whole code is split into components and bundles. More info about each component and bundle can be found in Architecture.
There is some possibility to customize whole app for personal needs. Complete guide can be found in customization section of this documentation.
There are two tasks that should be run periodically.
Segmenting customers
bin/console oloy:segment:recreate
Expiring points
ol:points:transfers:expire