cadence-web
Version:
Cadence Web UI
39 lines (23 loc) • 1.61 kB
Markdown
This doc is intended for contributors to `cadence-web`
**Note:** All contributors will be asked to sign [Uber Contributor License Agreement](http://t.uber.com/cla) during the PR process.
Node.js. Check [package.json](https://github.com/uber/cadence-web/blob/master/package.json) for the current version required. We do not recomment nvm since it can provide confusion with npm version.
For development we recommend using VSCode with [Remote Containers plugin](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers). We provide a default configuration for remote container using docker-compose.
You also need to run [cadence-server](https://github.com/uber/cadence) locally or have access to a cadence environment to talk to.
Follow [this great guide](https://gist.github.com/Chaser324/ce0505fbed06b947d962) 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
[](https://www.npmjs.com/package/farmhash) package.
```
npm i
npm run dev
npm start
```
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](https://www.npmjs.com/package/mocha-chrome) from the command line. This runs the tests via Chrome in headless mode and shows the results in your terminal.