<commit_before>OpenCraft
=========

Install
-------

### Vagrant install

You can use [vagrant][] to set up a virtual machine for local development and
testing. This is useful to keep you development environment isolated from the
rest of your system.

First, install [virtualbox][] and [vagrant][]. Then run:

    vagrant up

This will provision an virtual machine running Ubuntu 14.04, set up local
postgres and redis, install the dependencies and run the tests.

Once the virtual machine is up and running, you can ssh into it with this
command:

    vagrant ssh

Vagrant will set up a virtualbox share mapping your local development directory
to `/vagrant` inside the virtual machine. Any changes you make locally will be
reflected inside the virtual machine automatically.

Vagrant will map port 5000 inside the virtual machine to port 5000 on the host,
so you can access the development server using your web browser.


### Local install

If you prefer not to install vagrant, you can install OpenCraft manually.
Instructions based on Ubuntu 14.04.

Install the system package dependencies & virtualenv:<commit_msg>Typos<commit_after>OpenCraft
=========

Install
-------

### Vagrant install

You can use [vagrant][] to set up a virtual machine for local development and
testing. This is useful to keep your development environment isolated from the
rest of your system.

First, install [virtualbox][] and [vagrant][]. Then run:

    vagrant up

This will provision a virtual machine running Ubuntu 14.04, set up local
postgres and redis, install the dependencies and run the tests.

Once the virtual machine is up and running, you can ssh into it with this
command:

    vagrant ssh

Vagrant will set up a virtualbox share mapping your local development directory
to `/vagrant` inside the virtual machine. Any changes you make locally will be
reflected inside the virtual machine automatically.

Vagrant will map port 5000 inside the virtual machine to port 5000 on the host,
so you can access the development server using your web browser.


### Local install

If you prefer not to install vagrant, you can install OpenCraft manually.
Instructions based on Ubuntu 14.04.

Install the system package dependencies & virtualenv:
{'fraction_non_alphanumeric': 0.05465949820788531, 'fraction_numerical': 0.014336917562724014, 'mean_word_length': 4.304038004750594, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '548227', 'n_tokens_mistral': 600, 'n_tokens_neox': 551, 'n_words': 329}