-
Start server:
$ go build && ./bunxp <path to bundle>
The best way to test the GraphQL API is https://github.com/hasura/graphqurl:
$ gq http://localhost:7777/graphql -i
-
Start client:
$ cd client $ yarn install # only the first time $ yarn run relay --watch $ yarn start # in a separate terminal
You don't need to relaunch the
npm start
command after you changed client files, they will be reloaded automatically. -
Open
http://localhost:3000
-
Install Packr v2:
$ go get -u github.com/gobuffalo/packr/v2/packr2
-
Build client:
$ cd client $ npm run build
-
Add client files to server binaries:
packr2
-
Build client-server bundle:
go build
-
Clean-up:
packr2 clean
- Cluster
- Agent
- Framework
- Task
- Marathon App
- Component
- API Endpoint Output
- Command Output
- Log
- File
- Role
- Integer
- Real
- Percentage
- Version
- Timestamp
- IP Address
- Array of Metrics
Hostname for agent