- Copy the contents of the jobs, widgets and assets/images folder contents into the (you guessed it) the jobs, widgets and assets/images folders in your dashing project and the github.yml and LICENSE files into the root of your dashing project (rsync works well for this.)
- Edit the github.yml file to configure the widget. The configuration looks like this:
repos:
- dotcloud/docker
- erikh/ruby-dbi
- rack/rack
- torvalds/linux
login: my_github_user
password: my_github_password
- Add
octokit
andactionview
gems to your Gemfile and runbundle install
- Add the following to your dashboard.erb file, and adjust the attributes to place it where you want. The data-id value is the same as your repository name:
<ul>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="dotcloud/docker" data-view="GithubStats"></div>
</li>
</ul>
- Copy the above snippet as necessary for each repository in your configuration.
- Christopher Maujean christopher@maujean.org
- Erik Hollensbe github@hollensbe.org