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 set up and customize, ready to work on-line and off-line.
See Open Loyalty product tour - https://youtu.be/cDZZemHxgAk.
There is variety of applications for Open Loyalty. Based on it you can build loyalty solutions like: loyalty modules for eCommerce, full loyalty programs for off-line and on-line, motivational programs for sales department or customer care programs with mobile application.
This project has full support for running in Docker.
Go to the docker directory:
cd docker
Execute bellow command to run application:
docker-compose up
Then use another command to setup database, Elasticsearch and load some demo data:
docker-compose exec php phing setup
If you find any problems using docker (for example on Windows environments) please try our Vagrant recipe.
You should have Vagrant and Virtualbox installed prior to executing this recipe.
Then, please execute following commands:
vagrant up
vagrant ssh
docker-compose -f docker/docker-compose.yml up -d
docker-compose -f docker/docker-compose.yml exec php phing demo
That's all. Now you can go to admin panel 127.0.0.1:8182. Default login is admin and password open. You can also go to customer panel 127.0.0.1:8183.
vagrant provision --provision-with sync
sync current dirvagrant provision --provision-with build
rebuild docker base images
After starting Open Loyalty it's exposes services under following URLs:
- http://localhost:8182 - the administration panel,
- http://localhost:8183 - the customer panel,
- http://localhost:8184 - the merchant panel,
- http://localhost:8181 - RESTful API port
- http://localhost:8181/doc - swagger-like API doc
If you are developer and want to attach source code then:
docker-compose -f docker/docker-compose.yml -f docker/docker-compose.dev.yml up
After starting Open Loyalty in developer mode it's exposes services under slightly different URLs:
- http://localhost:8081/admin - the administration panel,
- http://localhost:8081/client - the customer panel,
- http://localhost:8081/pos - the merchant panel,
- http://localhost - RESTful API port
- http://localhost/app_dev.php/doc - swagger-like API doc
Running phing setup
will generate the JWT public/private keys for you, but in case you would like to generate them "manually" use phing generate-jwt-keys
.
Technical documentation is located here.
If you need to see a demo of Open Loyalty, drop us a line via the form at the official landing page http://www.openloyalty.io/.
If you wish to contribute to Open Loyalty, please read the CONTRIBUTING.md file.