<commit_before># README


## Introduction

MopaBootstrapBundle is a small collection of useful code to integrate twitter's bootstrap
(http://twitter.github.com/bootstrap/) as easy as possible into your symfony2 (http://www.symfony.com) Project.

It includes various form template blocks for use with symfony2 Form Component
as well as twig templates for KnpPaginatorBundle (https://github.com/knplabs/KnpPaginatorBundle)
and CraueFormFlowBundle (https://github.com/craue/CraueFormFlowBundle)

## Prerequisites


### OPTIONAL
If you do not want to use less ignore this, otherwise try:
 - node.js: https://github.com/joyent/node/wiki/Installation
 - npm: (node package manager) 
 
``` bash
curl http://npmjs.org/install.sh | sh
```


 - less css:

``` bash
npm install less -g

```

 - configure assetic to make use of it (replace /usr with your prefix)

``` yaml
assetic:
    filters:
        less:
  node: /usr/bin/node
  node_paths: [/usr/lib/node_modules]
```

 - Yui CSS and CSS Embed are quite nice, but just additional,
   to make full use of bootstraps capabilites they are not needed, neither is less but its up to you


## Installation

1.1 Add this bundle to your project as via deps:


```
[MopaBootstrapBundle]
    git=http://github.com/schmittjoh/JMSPaymentCoreBundle.git
    target=/bundles/Mopa/BootstrapBundle
```

1.2 Or add this bundle to your project as a Git submodule:

``` bash
git submodule add <EMAIL>:phiamo/MopaBootstrapBundle.git vendor/bundles/Mopa/BootstrapBundle
```

2. Add namespace to you app/autoload.php
  
``` php
<?php
// app/autoload.php

$loader->registerNamespaces(array(
    // ...
    'Mopa'        => __DIR__.'/../vendor/bundles',
));
```

3. Add this bundle to your app/AppKernel.php:

``` php
// application/ApplicationKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Mopa\BootstrapBundle\MopaBootstrapBundle(),
        // ...
    );
}
```

  4. Update your config.yml to activate forms integration (currently mandatory to make it work)

``` yaml
mopa_bootstrap:
    form: ~
```

## Initialize Bootstrap submodule

If you do not have bootstrap in your project yet
Just run

``` bash
cd vendor/bundles/
```
<commit_msg>added git submodule<commit_after># README


## Introduction

MopaBootstrapBundle is a small collection of useful code to integrate twitter's bootstrap
(http://twitter.github.com/bootstrap/) as easy as possible into your symfony2 (http://www.symfony.com) Project.

It includes various form template blocks for use with symfony2 Form Component
as well as twig templates for KnpPaginatorBundle (https://github.com/knplabs/KnpPaginatorBundle)
and CraueFormFlowBundle (https://github.com/craue/CraueFormFlowBundle)

## Prerequisites


### OPTIONAL
If you do not want to use less ignore this, otherwise try:
 - node.js: https://github.com/joyent/node/wiki/Installation
 - npm: (node package manager) 
 
``` bash
curl http://npmjs.org/install.sh | sh
```


 - less css:

``` bash
npm install less -g

```

 - configure assetic to make use of it (replace /usr with your prefix)

``` yaml
assetic:
    filters:
        less:
  node: /usr/bin/node
  node_paths: [/usr/lib/node_modules]
```

 - Yui CSS and CSS Embed are quite nice, but just additional,
   to make full use of bootstraps capabilites they are not needed, neither is less but its up to you


## Installation

1.1 Add this bundle to your project as via deps:


```
[MopaBootstrapBundle]
    git=http://github.com/schmittjoh/JMSPaymentCoreBundle.git
    target=/bundles/Mopa/BootstrapBundle
```

1.2 Or add this bundle to your project as a Git submodule:

``` bash
git submodule add <EMAIL>:phiamo/MopaBootstrapBundle.git vendor/bundles/Mopa/BootstrapBundle
```

2. Add namespace to you app/autoload.php
  
``` php
<?php
// app/autoload.php

$loader->registerNamespaces(array(
    // ...
    'Mopa'        => __DIR__.'/../vendor/bundles',
));
```

3. Add this bundle to your app/AppKernel.php:

``` php
// application/ApplicationKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Mopa\BootstrapBundle\MopaBootstrapBundle(),
        // ...
    );
}
```

  4. Update your config.yml to activate forms integration (currently mandatory to make it work)

``` yaml
mopa_bootstrap:
    form: ~
```

## Initialize Bootstrap submodule

If you do not have bootstrap in your project yet
Just run

``` bash
cd vendor/bundles/
git submodule init
git submodule update
```

{'fraction_non_alphanumeric': 0.11265709156193895, 'fraction_numerical': 0.004039497307001795, 'mean_word_length': 3.479396984924623, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '7600301', 'n_tokens_mistral': 1492, 'n_tokens_neox': 1369, 'n_words': 456}