Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 753 Bytes

File metadata and controls

61 lines (42 loc) · 753 Bytes

Local Development

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

Building

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

Tests

cabal test

File watching

Run tests, then recompile everything on file change and restart examples

bin/dev