Requires Node.js
In a shell, clone the git repository and install the dependencies:
git clone git://github.com/neyric/gh-issues-gantt.git
cd gh-issues-gantt
npm install
- copy config.example.js to config.js
- edit config.js to:
- set the GitHub repository and credentials
- add your Gantt configurations (colors, holidays, ...)
In a shell:
node server.js
- All milestones should have a due date configured
- All issues should belong to a milestone
- You can set the duration of each ticket by adding a label "1D" (1 day), "2D" (2 days), ...
Edit your config.js file to define a color for each github username:
colorByDev: {
"username1": "ganttGreen", // don't forget the comma
"otherUserName": "ganttOrange", // use the proper case in usernames
"unassigned": "ganttRed"
}
Colors available by default are: ganttBlue, ganttGreen, ganttOrange, ganttRed.
You can add additional color definitions into public/stylesheets/style.css, e.g.:
.fn-gantt .ganttPurple { background-color: #DCBFEE; } // The color of the issue
.fn-gantt .ganttPurple .fn-label { color: #4F1D6B; } // The color of the text of the issue
- Jquery Gantt widget: http://taitems.github.com/jQuery.Gantt/