<commit_before># [@CallbackWomen](https://twitter.com/callbackwomen): The Website
[![Circle CI](https://circleci.com/gh/minifast/conference-opportunities.svg?style=svg)](https://circleci.com/gh/minifast/conference-opportunities) [![Code Climate](https://codeclimate.com/github/minifast/conference-opportunities/badges/gpa.svg)](https://codeclimate.com/github/minifast/conference-opportunities) [![Test Coverage](https://codeclimate.com/github/minifast/conference-opportunities/badges/coverage.svg)](https://codeclimate.com/github/minifast/conference-opportunities/coverage) [![Issue Count](https://codeclimate.com/github/minifast/conference-opportunities/badges/issue_count.svg)](https://codeclimate.com/github/minifast/conference-opportunities) [![Dependency Status](https://gemnasium.com/minifast/conference-opportunities.svg)](https://gemnasium.com/minifast/conference-opportunities)


The Pivotal Tracker backlog for this project can be found at (https://www.pivotaltracker.com/n/projects/1433838).

## Development

Welcome to Rails.  You'll need Postgres set up locally.

```
$ bundle install
```
```
$ bundle exec rake db:setup
```

You'll need 5 environment variables to start developing the app:

* `GOOGLE_MAPS_API_KEY`: get this from [https://console.developers.google.com/apis/credentials](https://console.developers.google.com/apis/credentials)
* `TWITTER_CONSUMER_KEY`: get this from [https://apps.twitter.com/](https://apps.twitter.com/)
* `TWITTER_CONSUMER_SECRET`: ditto
* `TWITTER_ACCESS_TOKEN`: ditto
* `TWITTER_ACCESS_TOKEN_SECRET`: ditto

## Testing

For integration testing, we use [@fakemovaccount](https://twitter.com/fakemovaccount).

```
$ bundle exec rspec
```

## Deployment

Use Heroku.

Later, make sure the Twitter app has a Callback URL set in the Settings tab.
Otherwise you'll see a 401 error from Omniauth.

## Contributing<commit_msg>Updates Readme for more descriptive setup process<commit_after># [@CallbackWomen](https://twitter.com/callbackwomen): The Website
[![Circle CI](https://circleci.com/gh/minifast/conference-opportunities.svg?style=svg)](https://circleci.com/gh/minifast/conference-opportunities) [![Code Climate](https://codeclimate.com/github/minifast/conference-opportunities/badges/gpa.svg)](https://codeclimate.com/github/minifast/conference-opportunities) [![Test Coverage](https://codeclimate.com/github/minifast/conference-opportunities/badges/coverage.svg)](https://codeclimate.com/github/minifast/conference-opportunities/coverage) [![Issue Count](https://codeclimate.com/github/minifast/conference-opportunities/badges/issue_count.svg)](https://codeclimate.com/github/minifast/conference-opportunities) [![Dependency Status](https://gemnasium.com/minifast/conference-opportunities.svg)](https://gemnasium.com/minifast/conference-opportunities)


The Pivotal Tracker backlog for this project can be found at (https://www.pivotaltracker.com/n/projects/1433838).

The site can be found at (http://www.callbackwomen.com)

## Development

Welcome to Rails.  You'll need Postgres set up locally.

```
$ bundle install
```
Next, you'll need to create a ```.env``` file and generate the 5 environment variables to start developing the app:

* `GOOGLE_MAPS_API_KEY`=YOUR_KEY_HERE
* `TWITTER_CONSUMER_KEY=YOUR_KEY_HERE
* `TWITTER_CONSUMER_SECRET`=YOUR_KEY_HERE
* `TWITTER_ACCESS_TOKEN`=YOUR_KEY_HERE
* `TWITTER_ACCESS_TOKEN_SECRET`=YOUR_KEY_HERE

###Env Variables
* `GOOGLE_MAPS_API_KEY`
+ get this from [https://console.developers.google.com/apis/credentials](https://console.developers.google.com/apis/credentials)
+ When you see the screen pictured below, enter in a name to create the project. The name can be anything of your choosing.
+ Choose "Browser key"
+ Copy key into the ```.env``` file. (Example: ```GOOGLE_MAPS_API_KAY=YOUR_KEY_HERE```)

* `TWITTER_CONSUMER_KEY` (and all twitter keys)
+ get this from [https://apps.twitter.com/](https://apps.twitter.com/)
+ For "website", enter ```http://www.callbackwomen.com```
+ For the rest of the twitter-related keys, go to the "keys and access tokens" tab (screenshot below)

##Database Setup

Create your ```database.yml``` file by doing
```
$ cp config/database.yml.example config/database.yml
```

```
$ bundle exec rake db:setup
```

## Testing

For integration testing, we use [@fakemovaccount](https://twitter.com/fakemovaccount).

```
$ bundle exec rspec
```

**Note:** The first time you run the spec, phantomjs will install. Do not be alarmed.
**Note:** While running the specs, the browser will open running feature specs. Do not be alarmed.

## Deployment

Use Heroku.

Later, make sure the Twitter app has a Callback URL set in the Settings tab.
Otherwise you'll see a 401 error from Omniauth.

## Contributing
{'fraction_non_alphanumeric': 0.1382956227532248, 'fraction_numerical': 0.004652146331148234, 'mean_word_length': 5.825396825396825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 34, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1707655', 'n_tokens_mistral': 1645, 'n_tokens_neox': 1540, 'n_words': 333}