<commit_before>e-additives.web
===============

The goal of the E-additives project is to implement a web platform that will provide detailed information about [food additives](http://en.wikipedia.org/wiki/Food_additive).

The Web UI is a responsive HTML5/Javascript single-page web app that allows users to *Search* and *Browse* the E-additives database.

# Development

## Project structure

`build/` - A place where distributable project contents will be generated. This folder **must** be empty!
`css/` - CSS styles files. 
`fonts/` - Fonts required by the project.
`img/` - All images go here.
`js/` - Contains all the Javascript code and libs.
  * `vendor/` - Javascript libraries used throught the project.
    - `plugins` - Plugins for vendor libraries.
`partials/` - Mustache HTML templates.
`tests`/ - QUnit based tests.

# Configuration

## Configure test Apache server

Configure Apache server on local machine for tests. Open your Apache Virtual Hosts configurations, e.g. `/etc/httpd/conf/extra/httpd-vhosts.conf`, and add the following:

    Alias /ead.web /path-to-project/e-additives.web
    <Directory /path-to-project/e-additives.web>
            Options FollowSymLinks MultiViews -Indexes
            AllowOverride All
            Order allow,deny
            Allow from all
    </Directory>
		
If your are under Windows you can also use [XAMPP](http://www.apachefriends.org/en/xampp.html).

# License<commit_msg>Added open source libs used to README<commit_after>e-additives.web
===============

The goal of the E-additives project is to implement a web platform that will provide detailed information about [food additives](http://en.wikipedia.org/wiki/Food_additive).

The Web UI is a responsive HTML5/Javascript single-page web app that allows users to *Search* and *Browse* the E-additives database.

# Development

## Project structure

`build/` - A place where distributable project contents will be generated. This folder **must** be empty!
`css/` - CSS styles files. 
`fonts/` - Fonts required by the project.
`img/` - All images go here.
`js/` - Contains all the Javascript code and libs.
  * `vendor/` - Javascript libraries used throught the project.
    - `plugins` - Plugins for vendor libraries.
`partials/` - Mustache HTML templates.
`tests`/ - QUnit based tests.

# Configuration

## Configure test Apache server

Configure Apache server on local machine for tests. Open your Apache Virtual Hosts configurations, e.g. `/etc/httpd/conf/extra/httpd-vhosts.conf`, and add the following:

    Alias /ead.web /path-to-project/e-additives.web
    <Directory /path-to-project/e-additives.web>
            Options FollowSymLinks MultiViews -Indexes
            AllowOverride All
            Order allow,deny
            Allow from all
    </Directory>
		
If your are under Windows you can also use [XAMPP](http://www.apachefriends.org/en/xampp.html).

# Open Source Libraries
The following open source libraries are used:

  * [jQuery](http://jquery.com/) - The Write Less, Do More, JavaScript Library.
  * [Bootstrap](http://twitter.github.com/bootstrap/) - Sleek, intuitive, and powerful front-end framework for faster and easier web development.
  * [Sammy.js](http://sammyjs.org/) - A small web framework. 
  * [Mustache](http://mustache.github.io/) - Logic-less templates.
  * [Require.js](http://requirejs.org/) - RequireJS is a JavaScript file and module loader.
  * [Underscore.js](http://underscorejs.org/) - utility-belt library for JavaScript.
  * [FooTable](https://github.com/bradvin/FooTable) - jQuery plugin to make HTML tables responsive.
  * [Holder.js](http://imsky.github.com/holder/) - Holder renders image placeholders entirely on the client side.  
  * [Moment.js](http://momentjs.com/) - A 5.5kb javascript date library for parsing, validating, manipulating, and formatting dates.
  * [Modernizr](http://modernizr.com/) - Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user's browser.

# License
{'fraction_non_alphanumeric': 0.11085972850678733, 'fraction_numerical': 0.0015082956259426848, 'mean_word_length': 3.521590909090909, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, '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': '2026838', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1121, 'n_words': 415}