<commit_before># Github-balance

The app that quantifies your Open Source contributions.

Just log in with your GitHub account to see your score. The score is based on your repositories popularity, and on your contributions at other projects. Stars, watchers or forks bring you more points.

Share your score on facebook or twitter and see how you compete against your friends.


## Setup

### Easy install
For a quick setup, just run
    - **make setup** for Debian flavors
    - **make setup-rpm** for Red Hat flavors

in the root directory. Then **make run** will start the db and app at
[http://localhost:3000](http://localhost:3000).

### Manual setup
1. Install nodejs (preferably from own repo) and npm:

        add-apt-repository ppa:chris-lea/node.js && apt-get update
        apt-get install nodejs

2. Install mongodb. Needed for our database:

        apt-get install mongodb

  For OSX, I recommand using [MacPorts](http://www.macports.org/) for an easy install:

        port install mongodb

3. Set node environment ($NODE_ENV):

        NODE_ENV=development

4. Install all node modules. A list is available further down.

        npm install

5. Start mongod and import testing database:

        mongod &
        mongorestore -d github-connect ghconnect_db/github-connect

6. Run mongod and start the app. Then visit [http://localhost:3000](http://localhost:3000).

        mongod &
        node app.js


## Dependencies
This is a list of the modules we use (package.json):

* [express](https://www.npmjs.org/package/express) - web development framework
* [everyauth](https://www.npmjs.org/package/everyauth) - authentication solution
* [connect](https://www.npmjs.org/package/connect) - high performance middleware framework
* [jade](https://www.npmjs.org/package/jade) - Jade template engine
* [mongoose](https://www.npmjs.org/package/mongoose) - MongoDB ODM
* [markdown](https://www.npmjs.org/package/markdown) - Markdown parser for javascript
* [nodemailer](https://www.npmjs.org/package/nodemailer) - send emails


Use package.json to install them all:

        npm install package.json


### Happy coding !
<commit_msg>Update style<commit_after># Github-balance

The app that quantifies your Open Source contributions.

Just log in with your GitHub account to see your score. The score is based on your repositories popularity, and on your contributions at other projects. Stars, watchers or forks bring you more points.

Share your score on facebook or twitter and see how you compete against your friends.


## Setup

### Easy install

For a quick setup, just run:
  -  `make setup` for Debian flavors
  -  `make setup-rpm` for Red Hat flavors

in the root directory. Then **make run** will start the db and app at
[http://localhost:3000](http://localhost:3000).

### Manual setup
1. Install nodejs (preferably from own repo) and npm:

        add-apt-repository ppa:chris-lea/node.js && apt-get update
        apt-get install nodejs

2. Install mongodb. Needed for our database:

        apt-get install mongodb

  For OSX, I recommand using [MacPorts](http://www.macports.org/) for an easy install:

        port install mongodb

3. Set node environment ($NODE_ENV):

        NODE_ENV=development

4. Install all node modules. A list is available further down.

        npm install

5. Start mongod and import testing database:

        mongod &
        mongorestore -d github-connect ghconnect_db/github-connect

6. Run mongod and start the app. Then visit [http://localhost:3000](http://localhost:3000).

        mongod &
        node app.js


## Dependencies
This is a list of the modules we use (package.json):

* [express](https://www.npmjs.org/package/express) - web development framework
* [everyauth](https://www.npmjs.org/package/everyauth) - authentication solution
* [connect](https://www.npmjs.org/package/connect) - high performance middleware framework
* [jade](https://www.npmjs.org/package/jade) - Jade template engine
* [mongoose](https://www.npmjs.org/package/mongoose) - MongoDB ODM
* [markdown](https://www.npmjs.org/package/markdown) - Markdown parser for javascript
* [nodemailer](https://www.npmjs.org/package/nodemailer) - send emails


Use package.json to install them all:

        npm install package.json


### Happy coding !

{'fraction_non_alphanumeric': 0.10063039925286014, 'fraction_numerical': 0.01027317300957273, 'mean_word_length': 3.457856399583767, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 16, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6730694', 'n_tokens_mistral': 1314, 'n_tokens_neox': 1185, 'n_words': 457}