Building and running Djot locally
Using Bun (preferred)
It’s best to iterate on Djockey with Bun because you don’t need to compile the TypeScript and it boots instantly.
Assuming you’ve already installed bun
, bun install
and bun test
work as usual.
Makefile
has a few shortcuts for working this way. Run make docs
to build the documentation for local browsing using Bun; this is effectively the best integration test for Djockey right now.
Using Node
Djockey supports Node because most potential users already have Node installed.
You can use yarn djockey
to build Djockey with tsc
and run Djockey using Node. yarn test
will run the tests using Jest.