15 Commits

Author SHA1 Message Date
Łukasz Mierzwa
f1e90e054d Rewrite clientside-haml-js templates using underscore
Drop haml templates in favor of underscore. Haml templates are harder to maintain and require extra dependencies, we already have underscore.js included and it provides a fast templating engine. Rewrite all client side templates using it.
Performance with underscore is pretty much the same as with haml (with 10k alerts).
2017-04-10 11:38:34 -07:00
Łukasz Mierzwa
bb7f491acb Update Alertmanager URI to use new mock data
So that 'make run' works with new mock data
2017-04-06 21:06:50 -07:00
Łukasz Mierzwa
a0375a243d Fix 'make vendor-update' to work as documented
make vendor-update should update everything inside the vendor dir, to do this 'govendor fetch' needs to be used, current command ('govendor update') is used to copy packages from /home/lukasz/work/go to vendor dir
2017-03-30 13:21:24 -07:00
Łukasz Mierzwa
b458f63713 Switch from manul to govendor for maintaining vendor directory
Manul works great, but using git submodules creates some problems (like https://github.com/travis-ci/travis-ci/issues/5806), switch to govendor to have reproducible builds
2017-03-28 20:09:26 -07:00
Łukasz Mierzwa
e0279ebe5e Add more details about make variable 'DEBUG'
Make 'make DEBUG=true ...' work with run-docker target and provide more details of what it will do
2017-03-28 11:25:27 -07:00
Łukasz Mierzwa
f810ec31d8 Don't enable debug mode by default
This should only be enabled when needed, it's mentioned in the docs
2017-03-28 09:10:15 -07:00
Łukasz Mierzwa
d6189955b2 Add mock data for testing 2017-03-27 19:36:56 -07:00
Łukasz Mierzwa
81197861dd Enable more features for mock data 2017-03-27 10:40:03 -07:00
Łukasz Mierzwa
9322b8ab0b Add CONTRIBUTING.md file
This file explains how to get started with unsee development
2017-03-27 07:46:42 -07:00
Łukasz Mierzwa
57ae5299a3 Add make targets for handling vendor dir via manul
This will install manul and run allow to run all commands needed to maintain all vendor deps
2017-03-27 07:46:42 -07:00
Łukasz Mierzwa
f8420d4632 Use go-bindata-assetfs for static files
This allows unsee to be compiled into a single self-contained binary, without any need to external static files or templates
2017-03-26 17:41:17 -07:00
Łukasz Mierzwa
3027137a96 Cleanup make targets and update readme to match it
Refactor make targets to make it easier to follow, add missing PORT env variable to the readme.
2017-03-26 17:41:16 -07:00
Łukasz Mierzwa
9525cbcbe0 Cleanup Makefile
Rename 'make build' to 'make docker-image' so it's more obvious what it's doing
Initialize git submodules automatically when needed, so users don't need to do it manually
2017-03-23 22:56:17 -07:00
Łukasz Mierzwa
2d2eec0567 Fix missing quote in 'make dev' target 2017-03-23 19:57:54 -07:00
Łukasz Mierzwa
e239fd05fd Import code from internal repository (#1)
Import code from internal repository
2017-03-23 16:58:04 -07:00