Skip to content

Commit

Permalink
usage
Browse files Browse the repository at this point in the history
  • Loading branch information
IonicaBizau committed Nov 27, 2013
1 parent 17b2c83 commit 2174391
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Expand Up @@ -12,6 +12,38 @@ If your system does not have _wget_, you can also use _curl_:

curl https://raw.github.com/IonicaBizau/gh-contributions/master/installer.sh | sh

Usage
-----

The installer script will create a folder in `home` called `gh-contributions`. So enter in that folder (`cd ~/gh-contributions`) and run `node server` or directly:

```
node ~/gh-contributions/server.js
```

The application runs on the port `9000`. Open your browser at `http://localhost:9000/` there you will see the contribution designer. You will draw the commits. A JSON object is generated:

```JSON
{
"coordinates": [
{
"x": ...,
"y": ...
},
...
{
...
}
],
"commitsPerDay": 40
}
```

Edit the `commitsPerDay` value. That sets the day commit count.
Then click the generate button and wait... :-) You can delight with the debug messages from terminal while the repository is generated.

After the repository is finished you will get a link for download. Unzip the zip file, add your remote git repository and run `git push -u origin master`.

Example
-------

Expand Down

0 comments on commit 2174391

Please sign in to comment.