Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now, click on the "Rulesets" tab. Enter the URL to the KRL source code in the box beside the button "install ruleset from URL" and click on that button. 

...

Clicking on the "install ruleset from URL" will cause the pico engine to get your ruleset using an HTTP GET, compile it, and register it. 

If you're using Github to host your rulesets, be sure that you supply the "raw" URL. The raw URL returns the file without any Github page chrome. For example, this is a raw and cooked example of the same ruleset.

...

Clicking on the "install ruleset from URL" will send an event to your pico. This event is captured by rules in the "io.picolabs.pico" ruleset, which will cause the pico engine to get your ruleset from the Internet, compile it, and register it If you're hosting your rulesets on Amazon S3, be sure the URL is public and can be retrieved using a browser

Finally, the ruleset will be installed in this pico, as you can see when the page refreshes.

...