2014-11-11 02:16:52 +00:00
#[burnchart](http://radekstepan.com/burnchart)
2014-09-02 03:28:28 +00:00
2014-10-31 04:41:41 +00:00
GitHub Burndown Chart as a Service. Answers the question "are my projects on track"?
2014-09-02 04:54:20 +00:00
2014-12-22 21:33:33 +00:00
![Build Status ](http://img.shields.io/codeship/5645c5d0-4b7e-0132-641d-623ee7e48d08/master.svg?style=flat )
2014-11-11 02:16:52 +00:00
[![Coverage ](http://img.shields.io/coveralls/radekstepan/burnchart/master.svg?style=flat )](< https: // coveralls . io / r / radekstepan / burnchart > )
[![Dependencies ](http://img.shields.io/david/radekstepan/burnchart.svg?style=flat )](https://david-dm.org/radekstepan/burnchart)
2014-10-29 04:56:37 +00:00
[![License ](http://img.shields.io/badge/license-AGPL--3.0-red.svg?style=flat )](LICENSE)
2014-11-11 02:16:52 +00:00
![image ](https://raw.githubusercontent.com/radekstepan/burnchart/master/public/screenshots.jpg )
2014-10-31 00:36:40 +00:00
##Features
2014-11-01 05:12:37 +00:00
1. Running from the **browser** , apart from GitHub account sign in which uses Firebase backend.
1. **Private repos** ; sign in with your GitHub account.
1. **Store** projects in browser's `localStorage` .
1. **Off days** ; specify which days of the week to leave out from ideal burndown progression line.
1. **Trend line** ; to see if you can make it to the deadline at this pace.
1. Different **point counting** strategies; select from 1 issues = 1 point or read size from issue label.
2014-10-31 00:36:40 +00:00
2014-12-24 19:46:39 +00:00
##Quick Start
```bash
$ npm install burnchart -g
2014-12-24 20:02:45 +00:00
$ burnchart 8080
2015-03-24 03:19:51 +00:00
# burnchart/2.0.8 started on http://0.0.0.0:8080
2014-12-24 19:46:39 +00:00
```
2014-10-31 00:36:40 +00:00
##Configuration
At the moment, there is no ui exposed to change the app settings. You have to edit the `src/models/config.coffee` file.
An array of days when we are not working where Monday = 1. The ideal progression line won't *drop* on these days.
```coffeescript
"off_days": [ ]
```
Choose from `ONE_SIZE` which means each issue is worth 1 point or `LABELS` where issue labels determine its size.
```coffeescript
"points": "ONE_SIZE"
```
2014-10-31 02:01:11 +00:00
If you specify `LABELS` above, this is the place to set a regex used to parse a label and extract points size from it. When multiple matching size labels exist, their sum is taken.
2014-10-31 00:36:40 +00:00
```coffeescript
"size_label": /^size (\d+)$/
```
2014-11-03 04:22:33 +00:00
##Commands
2014-10-31 00:36:40 +00:00
2014-11-02 00:42:39 +00:00
Read the [Architecture ](docs/ARCHITECTURE.md ) document when contributing code.
2014-10-31 00:36:40 +00:00
```bash
2014-11-03 04:22:33 +00:00
rake build # Build everything & minify
rake build:css # Build the styles with LESS
rake build:js # Build the app with Browserify
rake build:minify # Minify build for production
rake commit[message] # Build app and make a commit with latest changes
rake install # Install dependencies with NPM
rake publish # Publish to GitHub Pages
rake serve # Start a web server on port 8080
rake test # Run tests with mocha
rake test:coverage # Run code coverage, mocha with Blanket.js
rake test:coveralls[token] # Run code coverage and publish to Coveralls
rake watch # Watch everything
rake watch:css # Watch the styles
rake watch:js # Watch the app
2014-10-31 00:36:40 +00:00
```