<commit_before>TagproAuction
=============

Tagpro Auction tool for MLTP S7. Possibly usable in other situations.

To set up and run this site just git clone it, navigate to the project directory and execute:

> curl https://install.meteor.com/ | sh

> meteor

You may also need curl - that part's up to you.<commit_msg>update readme to add better info<commit_after>TagproAuction
=============

Tagpro Auction tool for MLTP S7. Possibly usable in other situations.

To set up and run this site just git clone it, navigate to the project directory and execute:

> curl https://install.meteor.com/ | sh

> meteor

To work in other situations, modify "genner.py" to include the captains, team names, and division of each team.
After you modify it, run "python genner.py" and it will update the correct files.

You also need to alter the first line on "auction.js" to include the list of admins - people who can start/pause/undo bids on the auction. 

Run "meteor" in the project's main directory, then load up localhost:3000 to see the auction.

You can do "meteor deploy myauctionsite.meteorapp.com" to create a live site that others can access.

Captain names are case sensitive - when signing up you need to use the correct capitalization.

When we used it for the MLTP auction, we created a heroku site, and used mongolab as the database. This allows persistence and backing up, as well as on the fly modifications to the database (removing users who forgot logins, removing players that were accidentally added).

The heroku config variables used are as follows:

	=== mltp-auction Config Vars
	BUILDPACK_URL: https://github.com/AdmitHub/meteor-buildpack-horse.git
	MONGO_URL:     mongodb://<username>:<password>@<mongolabhost>.mongolab.com:<mongolab-port>/<mongolab-database>
	ROOT_URL:      http://<app-name>.herokuapp.com
{'fraction_non_alphanumeric': 0.08050383351588171, 'fraction_numerical': 0.0032858707557502738, 'mean_word_length': 4.326530612244898, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 3, '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': '3882253', 'n_tokens_mistral': 539, 'n_tokens_neox': 511, 'n_words': 246}