<commit_before>Source code for [WhoDoTheyServe.com][wdts]

# To build and run locally

## Install global dependencies

* [node.js][nodejs]

* [bcrypt dependencies][bcrypt-deps]

* [mongodb][mongodb] (run with [`mongod`][mongod])

* [LiveScript][LiveScript]

## Clone and build

* clone the [repository][wdts-repo] from GitHub

The build tasks are written in LiveScript so run this command to compile them into javascript and install the node modules from npm:

* `task/bootstrap`

You should then be able to launch the task runner:

* `node _build/dev/task/repl`

After a few seconds a helpful list of commands should appear. Enter the following command to build all files and run the tests:

* `b.fc`

If all goes well you'll find the dev site running at `http://localhost:4000`.

Navigate to `http://localhost:4000/#/user/signup` to create an admin user who should then be able to signup further users.

# Notes

The APP integration tests will fail until [this issue][mjs-81] is fixed (I'm currently using a locally patched [marionette-js]).

Also the build tasks rely on Linux shell exec commands such as `pkill` and `rsync` so are unlikely to run on other OS's without some tweaks.


[bcrypt-deps]: https://github.com/ncb000gt/node.bcrypt.js#dependencies
[LiveScript]: http://livescript.net/#installation
[marionette-js]: https://github.com/mozilla-b2g/marionette-js-client
[mjs-81]: https://github.com/mozilla-b2g/marionette-js-client/issues/81
[mongod]: http://docs.mongodb.org/manual/reference/program/mongod/
[mongodb]: http://docs.mongodb.org/manual/installation/
[nodejs]: http://nodejs.org/download/
[wdts]: http://www.whodotheyserve.com
[wdts-repo]: https://github.com/dizzib/WhoDoTheyServe.com
<commit_msg>improve build instructions<commit_after>Source code for [WhoDoTheyServe.com][wdts]

# To build and run locally

## Install global dependencies

* [node.js][nodejs]

* [bcrypt dependencies][bcrypt-deps]

* [mongodb][mongodb] (run with [`mongod`][mongod])

* [LiveScript][LiveScript]

## Clone and build

* clone the [repository][wdts-repo] from GitHub

The build tasks are written in LiveScript so issue the following command to make them runnable:

* `task/bootstrap`

Now launch the task runner:

* `node _build/dev/task/repl`

After a few seconds a helpful list of commands should appear. Enter the following command to build all files and run the tests:

* `b.fc`

If all goes well you'll find the dev site running at `http://localhost:4000`.

Navigate to `http://localhost:4000/#/user/signup` to create an admin user who should then be able to signup further users.

# Notes

The APP integration tests will fail until [this issue][mjs-81] is fixed (I'm currently using a locally patched [marionette-js]).

Also the build tasks rely on Linux shell exec commands such as `pkill` and `rsync` so are unlikely to run on other OS's without some tweaks.


[bcrypt-deps]: https://github.com/ncb000gt/node.bcrypt.js#dependencies
[LiveScript]: http://livescript.net/#installation
[marionette-js]: https://github.com/mozilla-b2g/marionette-js-client
[mjs-81]: https://github.com/mozilla-b2g/marionette-js-client/issues/81
[mongod]: http://docs.mongodb.org/manual/reference/program/mongod/
[mongodb]: http://docs.mongodb.org/manual/installation/
[nodejs]: http://nodejs.org/download/
[wdts]: http://www.whodotheyserve.com
[wdts-repo]: https://github.com/dizzib/WhoDoTheyServe.com

{'fraction_non_alphanumeric': 0.11859066170151819, 'fraction_numerical': 0.010885133199656259, 'mean_word_length': 4.0535455861070915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '6140549', 'n_tokens_mistral': 1220, 'n_tokens_neox': 1093, 'n_words': 350}