<commit_before># Views Repository
This repository contains software for auto-generating views of [Mappings](https://github.com/mappinghub/mappings) and [Elements](https://github.com/mappinghub/elements), along with the resulting [Views](https://github.com/mappinghub/views/views).

![](https://travis-ci.org/mappinghub/views.svg?branch=master)

If the build fails, use the following [link](https://travis-ci.org/mappinghub/views) and login to Travis with the shared account.

This is how the mappinghub deployment works:
* When the master branch of either [Mapping](https://github.com/mappinghub/mappings) or [Element](https://github.com/mappinghub/elements) repositories update, github triggers [Travis CI] to run a small script.
* This script creates a [curl request](https://github.com/mappinghub/mappings/blob/master/travis.sh) that triggers the build process for this repository.
* Travis pulls the most recent versions of both Mappings and Elements from dependency URLs defined in [package.json](https://github.com/mappinghub/views/blob/master/package.json).
* Travis runs NPM build process:
  * NPM build calls [this script](
https://github.com/mappinghub/views/blob/master/bin/build-views) twice, creating the files and directory structure for the deployment of both Elements and Mappings.
  * The [Gulp script](https://github.com/mappinghub/views/blob/master/gulpfile.js) uses the static template in [./site](https://github.com/mappinghub/views/tree/master/site) to 
    * copy files to deployment directory
    * construct a new version of the mappinghub.github.io site, including filling in build # from the environment variable: TRAVIS_BUILD_NUMBER
* Travis runs NPM test, if that fails, it is not deployed
* Travis deploys to mappinghub.github.io<commit_msg>Adding an instruction for users<commit_after># Views Repository
This repository contains software for auto-generating views of [Mappings](https://github.com/mappinghub/mappings) and [Elements](https://github.com/mappinghub/elements), along with the resulting [Views](https://github.com/mappinghub/views/views).

![](https://travis-ci.org/mappinghub/views.svg?branch=master)

If the build fails, use the following [link](https://travis-ci.org/mappinghub/views) and login to Travis with the shared account.

This is how the mappinghub deployment works:
* When the master branch of either [Mapping](https://github.com/mappinghub/mappings) or [Element](https://github.com/mappinghub/elements) repositories update, github triggers [Travis CI] to run a small script.
* This script creates a [curl request](https://github.com/mappinghub/mappings/blob/master/travis.sh) that triggers the build process for this repository.
* Travis pulls the most recent versions of both Mappings and Elements from dependency URLs defined in [package.json](https://github.com/mappinghub/views/blob/master/package.json).
* Travis runs NPM build process:
  * NPM build calls [this script](
https://github.com/mappinghub/views/blob/master/bin/build-views) twice, creating the files and directory structure for the deployment of both Elements and Mappings.
  * The [Gulp script](https://github.com/mappinghub/views/blob/master/gulpfile.js) uses the static template in [./site](https://github.com/mappinghub/views/tree/master/site) to 
    * copy files to deployment directory
    * construct a new version of the mappinghub.github.io site, including filling in build # from the environment variable: TRAVIS_BUILD_NUMBER
* Travis runs NPM test, if that fails, it is not deployed
* Travis deploys to mappinghub.github.io
*
{'fraction_non_alphanumeric': 0.10583941605839416, 'fraction_numerical': 0.0, 'mean_word_length': 5.059523809523809, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, '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': '275295', 'n_tokens_mistral': 986, 'n_tokens_neox': 950, 'n_words': 337}