Learn XTDB Datalog Today is derived from the classic learndatalogtoday.org tutorial materials, but adapted to focus on the xtdb API and unique Datalog semantics.
The easiest way to go through the tutorial is with either the "Read" or "Try" links presented in the Quickstart. However, if you want to install the Markdown file from scratch, you can follow these instructions. The outcome will be the same.
learn-xtdb-datalog-today.nextjournal.md
you downloaded in Step 2.
Do not use "Import from a (GitHub) URL" -- it will not work.deps.edn
block. The metadata does this for you.You can now try the tutorial! Use the "Run All" button at the top or the "Run Cell" buttons beside each Clojure snippet to execute the samples.
To reinstall the tutorial: Treat this GitHub repository as the golden store. Make edits to the Markdown file in GitHub, then reimport the entire notebook using the following instructions.
learn-xtdb-datalog-today
Nextjournal user (ask @deobald, @refset, or @johantonelli for creds)learn-xtdb-datalog-today-old-05
so it won't collide with the notebook you are about to import."Learn XTDB Datalog Today - Old05"
or something similar so it's easy to identify
in the list of archived notebooks."Learn XTDB Datalog Today - Old05"
in the list. Select "Actions: Archive". (At present, you cannot completely delete a notebook.)"Installation"
instructions above, with the following additional steps from the "Share" dialog:
learn-xtdb-datalog-today
"Quickstart"
work correctly.The MIT License (MIT)
Copyright © 2013 - 2021 Jonas Enlund
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Thank you Jonas and contributors for freely licensing your excellent materials!