If you'd like GitHub makes a great place to host your code on GitHub, here are some tips to make your life easier.
...
code. There are a few things to remember:
- Always use the "raw" URL when registering the ruleset
- You have to flush the cache on the rules engine when you update.
Flushing
Note |
---|
This section is out of date. |
When your ruleset changes, you need alert KRE to tell the engine that there is a new version available. This is easily done with GithubGitHub's webhooks support.
After creating your repository in Github and GitHub and creating your KRL ruleset, go to the repository settings. The button for this is in the repository's menu, near Graphs, Issues, Code, etc.
Once there, go to Service Hooks on the left menu. Click WebHook URLs and you'll presented with a screen that looks like the following:
In the URL field, enter the following URL with your ruleset ID inserted:
...
Save the WebHook, and you're good to go. As soon as When you push your code to GitHub, the KRE pico engine's cache will be flushed.