io.livecode.ch Tutorial
Add a .io.livecode.ch top-level folder to
your GitHub repository, then visit
the
URLs http://io.livecode.ch/repl/<user>/<repo>
and http://io.livecode.ch/learn/<user>/<repo>.
To refresh the live installation on the server, visit the URL
http://io.livecode.ch/repl/<user>/<repo>?refresh=1.
What should the .io.livecode.ch directory contain?
defaults.json (example)language with a value that
matches one of the languages supported by this fork of
the CodeMirror JavaScript frontend
install (example)run (example) main code snippet, and
two extra snippets, conventionally for pre
and post processing
_site/index.html
(example)div tag with the class live,
and have a globally unique id; the data-lib attribute
is an optional space-separated list of other code
snippet ids that are concatenated to form
the pre snippet; the post snippet is not
yet used in the frontend
I hope you'll have fun, but please also be gentle with the server :)!