<commit_before>giffy
=========

Prerequisites
-------------
* Node.js
* An AWS S3 bucket with the following credentials:
    * User Access Key
    * Secret Key
    * Bucket name
* One of the following
    * Postgres (tested)
    * MySQL
    * SQLite3

**DO NOT** use your root AWS account information. Use [IAM](http://aws.amazon.com/iam/).

Installation
------------
1. Clone the directory: `git clone <EMAIL>:daleee/giffy.git`
2. Navigate to `/conf`, and create local copies of the configuration files: `cp api.js.example api.js && cp aws.js.example aws.js && cp db.js.example db.js`
3. Navigate to `/public/js/services` and `ConstantService.js` to point to the URL of your server/API location.
4. Install dependencies and build static assets:
```sh
pwd # .../giffy
npm install
cd public
bower install
cd ../ # back to root of giffy dir
gulp build
```
5. Run the API with `node server.js`

To Do
-----
- [ ] Automated install process for install/build steps!
- [ ] Centralized config for entire application!
- [ ] Tests!<commit_msg>and again<commit_after>giffy
=========

Prerequisites
-------------
* Node.js
* An AWS S3 bucket with the following credentials:
    * User Access Key
    * Secret Key
    * Bucket name
* One of the following
    * Postgres (tested)
    * MySQL
    * SQLite3

**DO NOT** use your root AWS account information. Use [IAM](http://aws.amazon.com/iam/).

Installation
------------
1. Clone the directory: `git clone <EMAIL>:daleee/giffy.git`
2. Navigate to `/conf`, and create local copies of the configuration files: `cp api.js.example api.js && cp aws.js.example aws.js && cp db.js.example db.js`
3. Navigate to `/public/js/services` and `ConstantService.js` to point to the URL of your server/API location.
4. Install dependencies and build static assets:
```sh
pwd # .../giffy
npm install
cd public
bower install
cd ../ # back to root of giffy dir
gulp build
```

Start the application with `node server.js`

To Do
-----
- [ ] Automated install process for install/build steps!
- [ ] Centralized config for entire application!
- [ ] Tests!
{'fraction_non_alphanumeric': 0.1414092664092664, 'fraction_numerical': 0.006274131274131274, 'mean_word_length': 3.056751467710372, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3534394', 'n_tokens_mistral': 657, 'n_tokens_neox': 642, 'n_words': 251}