Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 621 Bytes

BUILDING.md

File metadata and controls

43 lines (31 loc) · 621 Bytes

Building and development

Getting started

Dependencies

  • nodejs (10+)
  • npm
  • golang (1.13+)

Local

# install dependencies
npm install
go get -v d ./...
go install ./...

# serve UI with hot reload at localhost:8080
npm run dev-ui

# build UI for production with minification
npm run build

# build UI for production and view the bundle analyzer report
npm run build --report

# run UI unit tests
npm run unit

# run UI e2e tests
npm run e2e

# run all UI tests
npm test

# run backend + frontend (requires npm run build)
npm start

Local deployment and testing

tilt up --host 0.0.0.0