<commit_before># WeAreTech.io

> The sources of the [http://wearetech.io](http://wearetech.io) website.

[![Build Status](https://travis-ci.org/WeAreTech/wearetech.io.svg?branch=master)](https://travis-ci.org/WeAreTech/wearetech.io)

## Install

To use, Clone, Enter directory, npm install...
Note: You need Python 2 for the node-gyp dependency.

```shell
git clone <EMAIL>:wearetech/wearetech.io.git
cd wearetech.io
npm install
```

In case of bcrypt, node-gyp, or python version error
```shell
export PYTHON=python2
npm install
```

### Create required localhost entries

Because wearetech.io uses multiple hostnames on the same Node instance you need to edit your `/etc/hosts` file and add two new entries so you will be able to access the two pre-existing cities:

```
127.0.0.1 ath.localhost
127.0.0.1 skg.localhost
```

## Shell Control

* `grunt` Boot up the application for development workflow, it will:
  * Launch the databases (Mongo & Redis).
  * Launch the Node.js Application.
  * Watch for changes on the SASS files, compile and livereload.
  * Watch for changes on the frontend files (JS, templates, css, images, static assets) and livereload.
  * Watch for changes on the backend files and relaunch the Node.js App.
  * Open the browser on the launched web service.
* `grunt start` Will start the databases (Mongo & Redis).
* `node .` Will launch the Node.js Application.
* `npm test` Will run all test suites (BDD, TDD, lint).
* `grunt sass:main` Compile main website (wearetech.io) styles.
* `grunt sass:city` Compile city website (city.wearetech.io) styles.

## Deployment Checklist

* ❏ Update the [Release History](#release-history)
* ❏ Run: `grunt release`, this will:
  * Bump the version to the next patch.
  * Commit the change.
  * Issue tag based on new version.
  * Push to origin the new tag.
  * Travis-ci will deploy on heroku the tagged version.

## Release History

- **v0.0.5**, *04/Oct/2014*
    - Test auto-deploy from travis.ci
- **v0.0.1**, *04/Oct/2014*
    - Big Bang

## License

Copyright (c) 2014 <NAME>, [Contributors](https://github.com/WeAreTech/wearetech.io/graphs/contributors). Licensed under the MIT license.
<commit_msg>changelog<commit_after># WeAreTech.io

> The sources of the [http://wearetech.io](http://wearetech.io) website.

[![Build Status](https://travis-ci.org/WeAreTech/wearetech.io.svg?branch=master)](https://travis-ci.org/WeAreTech/wearetech.io)

## Install

To use, Clone, Enter directory, npm install...
Note: You need Python 2 for the node-gyp dependency.

```shell
git clone git@github.<EMAIL>:wearetech/wearetech.io.git
cd wearetech.io
npm install
```

In case of bcrypt, node-gyp, or python version error
```shell
export PYTHON=python2
npm install
```

### Create required localhost entries

Because wearetech.io uses multiple hostnames on the same Node instance you need to edit your `/etc/hosts` file and add two new entries so you will be able to access the two pre-existing cities:

```
127.0.0.1 ath.localhost
127.0.0.1 skg.localhost
```

## Shell Control

* `grunt` Boot up the application for development workflow, it will:
  * Launch the databases (Mongo & Redis).
  * Launch the Node.js Application.
  * Watch for changes on the SASS files, compile and livereload.
  * Watch for changes on the frontend files (JS, templates, css, images, static assets) and livereload.
  * Watch for changes on the backend files and relaunch the Node.js App.
  * Open the browser on the launched web service.
* `grunt start` Will start the databases (Mongo & Redis).
* `node .` Will launch the Node.js Application.
* `npm test` Will run all test suites (BDD, TDD, lint).
* `grunt sass:main` Compile main website (wearetech.io) styles.
* `grunt sass:city` Compile city website (city.wearetech.io) styles.

## Deployment Checklist

* ❏ Update the [Release History](#release-history)
* ❏ Run: `grunt release`, this will:
  * Bump the version to the next patch.
  * Commit the change.
  * Issue tag based on new version.
  * Push to origin the new tag.
  * Travis-ci will deploy on heroku the tagged version.

## Release History

- **v0.0.6**, *04/Oct/2014*
    - Edit page title on main site.
- **v0.0.5**, *04/Oct/2014*
    - Test auto-deploy from travis.ci
- **v0.0.1**, *04/Oct/2014*
    - Big Bang

## License

Copyright (c) 2014 <NAME>, [Contributors](https://github.com/WeAreTech/wearetech.io/graphs/contributors). Licensed under the MIT license.

{'fraction_non_alphanumeric': 0.1186862967157418, 'fraction_numerical': 0.018346545866364666, 'mean_word_length': 3.9121245828698554, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '5662598', 'n_tokens_mistral': 1527, 'n_tokens_neox': 1422, 'n_words': 528}