<commit_before># Meteor Vote App

## Configure Social Login apps

### Facebook
Visit [https://developers.facebook.com](https://developers.facebook.com)  and set up an app with the Site URL set to http://localhost:3000/. Create a file called `private/local-settings.json` with App ID and App Secret of your Facebook app. See `local-settings.json.example` for a template. 

### Twitter

1. Visit [https://dev.twitter.com/apps/new](https://dev.twitter.com/apps/new).
2. Set Callback URL to: http://127.0.0.1:3000/_oauth/twitter
3. Select "Create your Twitter application".
4. On the Settings tab, enable "Allow this application to be used to Sign in with Twitter" and click "Update settings".
5. Switch to the "Keys and Access Tokens" tab. Enter values in `private/local-settings.json`.


### Set Admins
To grant certain user administrative access, add their Facebook ID in an array in `private/admins.json`. See `admins.json.example` for a template. To find an account Facebook ID, visit [FindMyFacebookId.com](http://findmyfacebookid.com/).

## Build

### Local development

```
$ meteor --settings private/local-settings.json
```

Your app will now be running at [http://localhost:3000](http://localhost:3000).

### Deploy

Create Facebook and Twitter apps for production environment. Create file at `private/prod-settings.json` with those app credentials.

```
$ meteor deploy YOURAPP.meteor.com --settings private/prod-settings.json
```

For more deployment options, see [http://docs.meteor.com/#/full/deploying](http://docs.meteor.com/#/full/deploying).
<commit_msg>Added todo list to readme<commit_after># Meteor Vote App

## Configure Social Login apps

### Facebook
Visit [https://developers.facebook.com](https://developers.facebook.com)  and set up an app with the Site URL set to http://localhost:3000/. Create a file called `private/local-settings.json` with App ID and App Secret of your Facebook app. See `local-settings.json.example` for a template. 

### Twitter

1. Visit [https://dev.twitter.com/apps/new](https://dev.twitter.com/apps/new).
2. Set Callback URL to: http://127.0.0.1:3000/_oauth/twitter
3. Select "Create your Twitter application".
4. On the Settings tab, enable "Allow this application to be used to Sign in with Twitter" and click "Update settings".
5. Switch to the "Keys and Access Tokens" tab. Enter values in `private/local-settings.json`.


### Set Admins
To grant certain user administrative access, add their Facebook ID in an array in `private/admins.json`. See `admins.json.example` for a template. To find an account Facebook ID, visit [FindMyFacebookId.com](http://findmyfacebookid.com/).

## Build

### Local development

```
$ meteor --settings private/local-settings.json
```

Your app will now be running at [http://localhost:3000](http://localhost:3000).

### Deploy

Create Facebook and Twitter apps for production environment. Create file at `private/prod-settings.json` with those app credentials.

```
$ meteor deploy YOURAPP.meteor.com --settings private/prod-settings.json
```

For more deployment options, see [http://docs.meteor.com/#/full/deploying](http://docs.meteor.com/#/full/deploying).

## Todo
- [x] Add Twitter login
- [ ] Add Google login
- [ ] Hide results from user until all their votes have been cast
- [ ] Show Admins all users who have cast votes (to discourage users from voting from multiple accounts)
- [ ] Make ability to vote _against_ something adminable

{'fraction_non_alphanumeric': 0.12201514269073967, 'fraction_numerical': 0.0157251019219569, 'mean_word_length': 4.228310502283105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2693762', 'n_tokens_mistral': 1033, 'n_tokens_neox': 959, 'n_words': 376}