<commit_before>Tetra UI
========

A smart, easy-to-use toolkit for creating rich interfaces in lightning speed!
-----------------------------------------------------------------------------

### Working locally with Tetra UI

Here are the instructions to launch and build locally the whole Tetra UI project.

#### Installing Node.js

If it is not already done, install it here:
<http://nodejs.org/>

#### Installing required Node packages

In case you do not have them installed

	npm install -g grunt
	npm install -g less

#### Getting the `tetra-ui` project

You can use the default GitHub client, or your preferred Git client, or the `git` command line.
For testing only another solution is to get the repository as a Zip file.

The repository content must be in a `tetra-ui` folder on your computer.

#### Installing Less for Grunt

With the command line go to the `tetra-ui` folder

	cd tetra-ui

Then install grunt-contrib-less

	npm install grunt-contrib-less --save-dev

Now you should have a `node_modules` folder inside `tetra-ui`.

#### Launching Tetra UI with Grunt’s built-in server

On Mac or Linux

	grunt watch-server

On Windows

	grunt.cmd watch-server

And then go to this URL in a browser: <http://localhost:8080/> or <http://127.0.0.1:8080/>.

With this task every time a Less file is changed, Grunt rebuilds the required CSS files.

### Slides about Tetra.js & Tetra UI
<commit_msg>How to work locally with Tetra UI<commit_after>Tetra UI
========

A smart, easy-to-use toolkit for creating rich interfaces in lightning speed!
-----------------------------------------------------------------------------

### Working locally with Tetra UI

Here are the instructions to launch and build locally the whole Tetra UI project.

#### Installing Node.js

If it is not already done, install it here:
<http://nodejs.org/>

#### Installing required Node packages

In case you do not have them installed:

	npm install -g grunt
	npm install -g less

#### Getting the `tetra-ui` project

You can use the default GitHub client, or your preferred Git client, or the `git` command line.
For testing purpose another solution is to get the repository as a Zip file.

The repository content must be in a `tetra-ui` folder on your computer.

#### Installing Less for Grunt

With the command line go to the `tetra-ui` folder:

	cd tetra-ui

Then install `grunt-contrib-less`:

	npm install grunt-contrib-less --save-dev

Now you should have a `node_modules` folder inside `tetra-ui`.

#### Launching Tetra UI with Grunt’s built-in server

On Mac or Linux:

	grunt watch-server

On Windows:

	grunt.cmd watch-server

And then go to this URL in a browser: <http://localhost:8080/> or <http://127.0.0.1:8080/>.

With this task every time a Less file is changed, Grunt rebuilds the required CSS files.

### Slides about Tetra.js & Tetra UI

{'fraction_non_alphanumeric': 0.13565891472868216, 'fraction_numerical': 0.009866102889358703, 'mean_word_length': 2.9929676511954995, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1576316', 'n_tokens_mistral': 854, 'n_tokens_neox': 775, 'n_words': 390}