Install
TutorialIt needs opam, with a switch of OCaml 5.5 or later.
opam repo add open-opam https://github.com/open-opam/opam-repository.gitopam install spindleThis installs the framework and everything it needs, dune and the
ppx_wiretype deriver included. The database and the command line are
packages of their own, so an app that uses neither never installs them;
their tutorials install them when you get there:
| Package | Libraries | What for |
|---|---|---|
spindle |
spindle, and with it spindle-http and spindle-client |
The framework, HTTP itself, and a client for calling other servers |
spindle-sqlite |
spindle-sqlite |
Database, on SQLite (guide) |
spindle-postgres |
spindle-postgres |
Database, on Postgres (guide) |
spindle-cli |
spindle-cli |
Client schemas |
A program names the libraries it uses in its dune file;
your first app writes one, next.
