<commit_before>EdPurp is a nodejs/mongodb project for hosting a private torrent site. 
It is currently not very functional. 

Updates:
Current Scema change to be more generic with torrent uploads. 

## TODO (6)
1. app.js:52  Enable secure cookies for https
2. index.js:35  check req.user.admin to see if page should be displayed.
3. index.js:49  Query homepage results
4. upload.js:7  express deprecated req.param(name): Use req.params, req.body, or req.query instead
5. upload.js:31  express deprecated req.param(name): Use req.params, req.body, or req.query instead
6. upload.jade:19  Use Angular to make the form selection dynamic
7. Enable a user to edit their profile (Change password)

## Install
1. git clone https://github.com/jessecooper/EdPurp
2. cd ~/EdPurp
3. npm install 
4. Edit db.js: MongoDB connection string.
5. mongoimport --db [dbname] --collection users --file epadmin.json
6. rm ./epadmin.json

## Run Site
* sh debug.sh
* http://localhost:3000/
* Login: epadmin Password: <PASSWORD><commit_msg>Removed TODO: Allow user to change password...<commit_after>EdPurp is a nodejs/mongodb project for hosting a private torrent site. 
It is currently not very functional. 

Updates:
Current Scema change to be more generic with torrent uploads. 

## TODO (6)
1. app.js:52  Enable secure cookies for https
2. index.js:35  check req.user.admin to see if page should be displayed.
3. index.js:49  Query homepage results
4. upload.js:7  express deprecated req.param(name): Use req.params, req.body, or req.query instead
5. upload.js:31  express deprecated req.param(name): Use req.params, req.body, or req.query instead
6. upload.jade:19  Use Angular to make the form selection dynamic

## Install
1. git clone https://github.com/jessecooper/EdPurp
2. cd ~/EdPurp
3. npm install 
4. Edit db.js: MongoDB connection string.
5. mongoimport --db [dbname] --collection users --file epadmin.json
6. rm ./epadmin.json

## Run Site
* sh debug.sh
* http://localhost:3000/
* Login: epadmin Password: <PASSWORD>
{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.028358208955223882, 'mean_word_length': 3.8692493946731235, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '7089912', 'n_tokens_mistral': 675, 'n_tokens_neox': 628, 'n_words': 259}