2015-11-12 01:54:14 +00:00
|
|
|
The `ui` package contains static files and templates used in the web UI. For
|
2015-11-11 20:12:57 +00:00
|
|
|
easier distribution they are statically compiled into the Prometheus binary
|
|
|
|
using the go-bindata tool (c.f. Makefile).
|
|
|
|
|
|
|
|
During development it is more convenient to always use the files on disk to
|
|
|
|
directly see changes without recompiling.
|
2018-07-24 13:01:56 +00:00
|
|
|
To make this work, set the environment variable `DEBUG=1`, run `make assets`, and then `make build`.
|
|
|
|
|
2018-02-24 19:44:37 +00:00
|
|
|
This will put `go-bindata` in DEBUG mode where it serves from your local filesystem.
|
2015-11-11 20:12:57 +00:00
|
|
|
This is for development purposes only.
|
|
|
|
|
2018-02-24 19:44:37 +00:00
|
|
|
After making changes to any file, run `make assets` (without the `DEBUG=1`) before committing to update
|
2015-11-11 20:12:57 +00:00
|
|
|
the generated inline version of the file.
|