<commit_before>Below are instructions for getting a development environment up and running.

==Checking Out Code
The command "git clone http://github.com/benetech/math-support-matrix", sans the quotes, will clone the repository into a directory called math-support-matrix. This will be the directory we will be working in.

==Vagrant
Download and install Vagrant from: http://www.vagrantup.com/downloads.html

==VirtualBox
Download and install VirtualBox from: https://www.virtualbox.org/wiki/Downloads
Also make sure that VirtualBox's installation directory is in your path.

==Spin Up the Environment
Run the command "vagrant up" in the math-support-matrix directory. this will take a while to download the Linux distro, image it, install ruby/rails/other software. etc.
Once it's done, you can login with "vagrant ssh"
If you want to use other tools for ssh, just ssh to port 2222 on your local machine, and that's where ssh is listening to take you to the VirtualBox instance.
The username and password are both "vagrant", sans the quotes.

==Run the App
Once you're in the VirtualBox, then issue the following commands.

cd /vagrant
rake db:drop db:create db:migrate
rails server

once you do that, you can go to http://localhost:3000/ and you should see the application's homepage.

also, you may need to issue this on your local box if the port forwarding for port 3000 on virtual box isn't working:
ssh -N -L 3000:localhost:3000 vagrant@localhost -p 2222
Again, the password is "<PASSWORD>", sans the quotes.

Happy Hacking.<commit_msg>fixed some newline issues<commit_after>Below are instructions for getting a development environment up and running.

==Checking Out Code
The command "git clone http://github.com/benetech/math-support-matrix", sans the quotes, will clone the repository into a directory called math-support-matrix. This will be the directory we will be working in.

==Vagrant
Download and install Vagrant from: http://www.vagrantup.com/downloads.html

==VirtualBox
Download and install VirtualBox from: https://www.virtualbox.org/wiki/Downloads

Also make sure that VirtualBox's installation directory is in your path.

==Spin Up the Environment
Run the command "vagrant up" in the math-support-matrix directory. this will take a while to download the Linux distro, image it, install ruby/rails/other software. etc.

Once it's done, you can login with "vagrant ssh". If you want to use other tools for ssh, just ssh to port 2222 on your local machine, and that's where ssh is listening to take you to the VirtualBox instance. The username and password are both "vagrant", sans the quotes.

==Run the App
Once you're in the VirtualBox, then issue the following commands.

cd /vagrant

rake db:drop db:create db:migrate

rails server

once you do that, you can go to http://localhost:3000/ and you should see the application's homepage.

also, you may need to issue this on your local box if the port forwarding for port 3000 on virtual box isn't working:

ssh -N -L 3000:localhost:3000 vagrant@localhost -p 2222

Again, the password is "<PASSWORD>", sans the quotes.

Happy Hacking.
{'fraction_non_alphanumeric': 0.06662375281622143, 'fraction_numerical': 0.01544898616028323, 'mean_word_length': 4.540106951871658, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5949380', 'n_tokens_mistral': 902, 'n_tokens_neox': 821, 'n_words': 446}