<commit_before>[![Build Status](https://travis-ci.org/sounddrop/sounddrop.svg?branch=master)](https://travis-ci.org/sounddrop/sounddrop)

This is the repository for SoundDrop. <a href="http://sounddrop.audio">Read about and view SoundDrop here.</a>

## How to run locally

Prerequisites:

* ruby 2.2.2
* mysql libraries. If you are using a mac, do `brew install mysql`

Install bundler and run bundle install:

```
gem install bundler
bundle install
```
Setup the development database:

```
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
```
Start rails:

```
rails s
```
See a SoundDrop playlist: http://localhost:3000/playlists/74584890/187471639

Run tests:
````
bundle exec rspec
````

## Contribution

Small fixes can be pushed straight to master. For new features, please drop a line to <EMAIL><commit_msg>Update README with test setup instructions<commit_after>[![Build Status](https://travis-ci.org/sounddrop/sounddrop.svg?branch=master)](https://travis-ci.org/sounddrop/sounddrop)

This is the repository for SoundDrop. <a href="http://sounddrop.audio">Read about and view SoundDrop here.</a>

## How to run locally

Prerequisites:

* ruby 2.2.2
* mysql libraries. If you are using a mac, do `brew install mysql`

Install bundler and run bundle install:

```
gem install bundler
bundle install
```
Setup the development database:

```
rake db:setup
```
Start rails:

```
rails s
```
See a SoundDrop playlist: http://localhost:3000/playlists/74584890/187471639

## How to run tests

Setup test database

For bash:
````
RAILS_ENV=test rake db:setup
````
For fish
````
env RAILS_ENV=test rake db:setup
````
bundle exec rspec
````

## Contribution

Small fixes can be pushed straight to master. For new features, please drop a line to <EMAIL>
{'fraction_non_alphanumeric': 0.12247191011235956, 'fraction_numerical': 0.02696629213483146, 'mean_word_length': 4.858552631578948, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '4241246', 'n_tokens_mistral': 612, 'n_tokens_neox': 556, 'n_words': 196}