Download and install NPM. On a mac, can be installed via homebrew:
brew install npm
Install client dependencies
cd client
npm install
Recommended: Use direnv to automatically load environment from .env
brew install direnv
direnv allow
Build JavaScript client
cd client
npm run build
Watch for changes during development
cd client
npm run dev
Run examples
# demo needs to have demo/static and client/dist as relative paths
cd <your-path-to>/hyperbole
cabal run demo
cabal test
Run tests, then recompile everything on file change and restart examples
bin/dev