0
0
Fork 0
matrix-doc/scripts/speculator/README

19 lines
689 B
Plaintext
Raw Permalink Normal View History

speculator allows you to preview pull requests to the matrix.org specification.
2015-09-11 16:15:03 +00:00
It serves the following HTTP endpoints:
- / lists open pull requests
2015-09-11 11:42:41 +00:00
- /spec/123 which renders the spec as html at pull request 123.
- /diff/rst/123 which gives a diff of the spec's rst at pull request 123.
- /diff/html/123 which gives a diff of the spec's HTML at pull request 123.
2015-09-11 11:42:41 +00:00
The build or run, you need a working `go` installation.
Then fetch dependencies:
` go get github.com/hashicorp/golang-lru`
To run it, then run:
`go run main.go`
To build the binary (which is necessary for deployment to the matrix.org
servers), you must again install `go` and dependencies, and then run:
`go build`