This project contains example use clara-rules, a Clojure-based rule engine. It is primarily for documentation and examples for those learning Clara.
The Clojure examples can be run via the Leiningen build system. Simply check out this project and run the following from its root directory on a system where Leiningen is installed:
lein run -m clara.examples
To run the ClojureScript examples, compile the code with lein compile
or lein cljsbuild once
, and then open the resources/public/index.html
file in a browser. This will run the shopping example in ClojureScript and display the result.
Like clara-rules, this example project is built, tested, and deployed using Leiningen.
Questions can be posted to the Clara Rules Google Group or the Slack channel.
See CONTRIBUTING.md
Copyright 2016 Cerner Innovation, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.