<commit_before>License Terms
---------------------------

This program is part of the OpenLMIS logistics management information system platform software.
Copyright © 2013 VillageReach


This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.


This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program.  If not, see http://www.gnu.org/licenses.  For additional information contact <EMAIL>. 



System Requirement
---------------------------

- JDK 7
- Postgresql 9
- Git
- Gradle 1.6
  ### For Linux users
   * Download the source binary directly from the gradle website.
   Copy the downloaded folder to /usr/bin. 
   * Add the path to gradle bin folder to your /etc/profile file
   export PATH="$PATH:/usr/bin/gradle-1.6/bin"
   
  ### For Mac users
   * Install HomeBrew
   * Run ```brew install gradle```         

- Node.js

  ### For Linux users
   * Install Nodejs as described [here](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#rhelcentosscientific-linux-6) based on your Linux flavour.

  ### For Mac users
  * Install Node,js [directly](http://nodejs.org/) or using homebrew as described [link](http://)
  * Those who install Node.js using Homebrew should export the following (or include in ```$HOME/.bash_profile``` or ```$HOME/.profile``` or ```$HOME/.bashrc``` or ```$HOME/.zshrc```, depending on your shell.
      - **export NODE_PATH="/usr/local/bin/node"**
      - **export PATH="/usr/local/share/npm/bin:$PATH"**  
  
- NPM dependencies (used for linting JS, LESS files, minifying JS files & running jasmine specs etc.)
  * Install Grunt command-line runner by running (after installing Node.js as mentioned in aformentioned step) ```npm install -g grunt-cli```
  * Install project-specific grunt dependencies by navigating to ```modules/openlmis-web``` from project root directory and run ```npm install``` (one-time activity)
  * Install karma test runner with karma coverage by running ```npm install -g karma karma-coverage```
  * Grunt tasks available can be found in ```modules/openlmis-web/Gruntfile.js``` 

Source code 
------------------
 1. Get the source code using ``git clone http://github.com/OpenLMIS/open-lmis/``
 2. Also resolve dependencies on submodule using command ``git submodule init`` and then ``git submodule update``<commit_msg>|#000|+RahulK| Install command for nodejs fixed<commit_after>License Terms
---------------------------

This program is part of the OpenLMIS logistics management information system platform software.
Copyright © 2013 VillageReach


This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.


This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program.  If not, see http://www.gnu.org/licenses.  For additional information contact <EMAIL>. 



System Requirement
---------------------------

- JDK 7
- Postgresql 9
- Git
- Gradle 1.6
  ### For Linux users
   * Download the source binary directly from the gradle website.
   Copy the downloaded folder to /usr/bin. 
   * Add the path to gradle bin folder to your /etc/profile file
   export PATH="$PATH:/usr/bin/gradle-1.6/bin"
   
  ### For Mac users
   * Install HomeBrew
   * Run ```brew install gradle```         

- Node.js

  ### For Linux users
   * Install Nodejs as described [here](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#rhelcentosscientific-linux-6) based on your Linux flavour.

  ### For Mac users
  * Install Node.js [directly](http://nodejs.org/) or using homebrew using `brew install nodejs`
  * Those who install Node.js using Homebrew should export the following (or include in ```$HOME/.bash_profile``` or ```$HOME/.profile``` or ```$HOME/.bashrc``` or ```$HOME/.zshrc```, depending on your shell.
      - **export NODE_PATH="/usr/local/bin/node"**
      - **export PATH="/usr/local/share/npm/bin:$PATH"**  
  
- NPM dependencies (used for linting JS, LESS files, minifying JS files & running jasmine specs etc.)
  * Install Grunt command-line runner by running (after installing Node.js as mentioned in aformentioned step) ```npm install -g grunt-cli```
  * Install project-specific grunt dependencies by navigating to ```modules/openlmis-web``` from project root directory and run ```npm install``` (one-time activity)
  * Install karma test runner with karma coverage by running ```npm install -g karma karma-coverage```
  * Grunt tasks available can be found in ```modules/openlmis-web/Gruntfile.js``` 

Source code 
------------------
 1. Get the source code using ``git clone http://github.com/OpenLMIS/open-lmis/``
 2. Also resolve dependencies on submodule using command ``git submodule init`` and then ``git submodule update``
{'fraction_non_alphanumeric': 0.1200071646068422, 'fraction_numerical': 0.005552570302704639, 'mean_word_length': 3.481540930979133, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5656899', 'n_tokens_mistral': 1561, 'n_tokens_neox': 1480, 'n_words': 663}