瀏覽代碼

docs(contributing): minor updates to old doc

bergquist 10 年之前
父節點
當前提交
6f9896c2fe
共有 1 個文件被更改,包括 15 次插入10 次删除
  1. 15 10
      CONTRIBUTING.md

+ 15 - 10
CONTRIBUTING.md

@@ -1,14 +1,19 @@
-If you have any idea for an improvement or found a bug do not hesitate to open an issue.
-And if you have time clone this repo and submit a pull request and help me make Grafana the
-kickass metrics & devops dashboard we all dream about!
+Follow the setup guide in README.md
 
 
-Prerequisites:
- - Nodejs (for jshint & grunt & development server)
+### Rebuild frontend assts on source change
+```
+grunt && grunt watch
+```
 
 
-Clone repository:
+### Rerun tests on source change
+```
+grunt karma:dev
+```
+
+### Run tests before commit
+```
+grunt test
+godep go test -v ./pkg/...
+```
 
 
-    npm install
-    grunt server (starts development web server in src folder)
-    grunt (runs jshint and less -> css compilation)
 
 
-Please remember to run grunt before doing pull request to verify that your code passes all the jshint validations.