This doc is intended for contributors to cadence-web
Note: All contributors will be asked to sign Uber Contributor License Agreement during the PR process.
Node.js. Check package.json for the current version required. We recommend using nvm to manage your versions.
You also need to run cadence-server locally or have access to a cadence environment to talk to.
Follow this great guide on how to work with a GitHub fork and submit a pull request.
The standard node.js workflow is used here. Use Node version 10. Version 12 is unable to install the farmhash package.
npm i
npm run dev # webpack hot reload environment
npm start # for production
Start up the webserver for testing via:
npm run test-server
The open localhost:8090
in the browser of your choice, or use npm test
to run it with mocha-chrome from the command line. This runs the tests via Chrome in headless mode and shows the results in your terminal.