<commit_before># CS673-Project

### Class Documents

[Meeting Minutes](https://drive.google.com/drive/u/0/folders/0B_3YzwwsXS7NZDNHRVhXaENwYVk)

[Quad Reports](https://drive.google.com/drive/u/0/folders/0BwFLA3yVKsC2dmdUTE5xTllXOGM)

[Presentations](https://drive.google.com/drive/u/0/folders/0BwFLA3yVKsC2UGJoUmxOWnR3QWM)

### Helpful Documentation

[BUTeam3 Prod](https://buteam3.herokuapp.com/)

[Spring Docs](https://spring.io/docs)

[Heroku Setup](https://devcenter.heroku.com/articles/getting-started-with-java#introduction)

[Bootstrap](http://getbootstrap.com/css/)

[Stormpath](https://docs.stormpath.com/java/spring-boot-web/)

[JQuery](https://api.jquery.com/)

## Installing Heroku

##### Mac
1. If you don't already have [homebrew](http://brew.sh/) follow the instructions
2. Run `brew install heroku` to install heroku

##### PC
Follow [these](https://toolbelt.heroku.com/windows) instructions

## Setting up Heroku
If you have not already, create a Heroku account [here]: heroku.com.

1. Run `heroku login` and enter your account info.
2. Run `heroku git:clone -a buteam3` to clone the heroku project to your local machine
3. Run `cd buteam` to enter the project
4. Run `git remote add origin <EMAIL>@github.com:BUTeam3/CS673-Project.git` to add our remote git repository to the project folder


## Running your dev environment
You'll need to install **Maven** first.

##### Mac
`brew install maven`

##### PC
[instructions]: http://www.mkyong.com/maven/how-to-install-maven-in-windows/

Once you have maven.

1. Run `mvn clean install` to recompile project.
2. Run `heroku local web` to spin up a local dev server.

You can access your local server at http://localhost:5000

## Pushing to git
When you are satisfied with your branch changes locally you can push to our git using `git push origin <branch name>`.
You can then submit a pull request by clicking **branches**, clicking on your branch, and selecting **New pull request**.
Once a branch has been merged to master you can pull the changes to your local version using `git pull origin master`.

## Deploying to Production
We'll decide as a group if master is ready to deploy to production.<commit_msg>devops instructions<commit_after># CS673-Project

### Class Documents

[Meeting Minutes](https://drive.google.com/drive/u/0/folders/0B_3YzwwsXS7NZDNHRVhXaENwYVk)

[Quad Reports](https://drive.google.com/drive/u/0/folders/0BwFLA3yVKsC2dmdUTE5xTllXOGM)

[Presentations](https://drive.google.com/drive/u/0/folders/0BwFLA3yVKsC2UGJoUmxOWnR3QWM)

### Helpful Documentation

[BUTeam3 Prod](https://buteam3.herokuapp.com/)

[Spring Docs](https://spring.io/docs)

[Heroku Setup](https://devcenter.heroku.com/articles/getting-started-with-java#introduction)

[Bootstrap](http://getbootstrap.com/css/)

[Stormpath](https://docs.stormpath.com/java/spring-boot-web/)

[JQuery](https://api.jquery.com/)

## Installing Heroku

##### Mac
1. If you don't already have [homebrew](http://brew.sh/) follow the instructions
2. Run `brew install heroku` to install heroku

##### PC
Follow [these](https://toolbelt.heroku.com/windows) instructions

## Setting up Heroku
If you have not already, create a Heroku account [here](heroku.com).

1. Run `heroku login` and enter your account info.
2. Run `heroku git:clone -a buteam3` to clone the heroku project to your local machine
3. Run `cd buteam` to enter the project
4. Run `git remote add origin <EMAIL>:BUTeam3/CS673-Project.git` to add our remote git repository to the project folder


## Running your dev environment
You'll need to install **[Maven](https://maven.apache.org/)** first.

##### Mac
`brew install maven`

##### PC
[instructions](http://www.mkyong.com/maven/how-to-install-maven-in-windows/)

Once you have maven.

1. Run `mvn clean install` to recompile project.
2. Run `heroku local web` to spin up a local dev server.

You can access your local server at http://localhost:5000

## Pushing to git
When you are satisfied with your branch changes locally you can push to our git using `git push origin <branch name>`.
You can then submit a pull request by clicking **branches**, clicking on your branch, and selecting **New pull request**.
Once a branch has been merged to master you can pull the changes to your local version using `git pull origin master`.

## Deploying to Production
We'll decide as a group if master is ready to deploy to production.
{'fraction_non_alphanumeric': 0.12202925045703839, 'fraction_numerical': 0.016453382084095063, 'mean_word_length': 4.655038759689923, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 19, 'lorem ipsum': 0, 'www.': 2, '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': '2382941', 'n_tokens_mistral': 1475, 'n_tokens_neox': 1413, 'n_words': 474}