prometheus/web/ui
Fabian Reinartz 7cbd31f7b6 Merge pull request #1212 from prometheus/uidev
Document convenient development of UI files.
2015-11-11 23:49:04 +01:00
..
static Tidy up .js files based on static analysis from jshint 2015-11-11 20:06:47 +01:00
templates Remove -web.use-local-assets 2015-11-11 17:58:03 +01:00
bindata.go Remove -web.use-local-assets 2015-11-11 17:58:03 +01:00
README.md Document convenient development of UI files. 2015-11-11 21:17:54 +01:00

The ui package contains static files and templates used in the web UI. For 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. Set the environment variable DEBUG=1 and compile Prometheus for this to work. This is for development purposes only.

After making changes to any file, run make assets before commiting to update the generated inline version of the file.