<commit_before>Ailove Standard Edition
=======================

What's inside?
--------------

Ailove Standard Edition comes pre-configured with the following bundles:

Symfony Standard Edition
~~~~~~~~~~~~~~~~~~~~~~~~

* FrameworkBundle
* SensioFrameworkExtraBundle
* DoctrineBundle
* TwigBundle
* SwiftmailerBundle
* MonologBundle
* AsseticBundle
* JMSSecurityExtraBundle
* WebProfilerBundle (in dev/test env)
* SensioDistributionBundle (in dev/test env)
* SensioGeneratorBundle (in dev/test env)

Sonata Bundles
~~~~~~~~~~~~~~

* SonataAdminBundle - The missing Symfony2 Admin Generator
* SonataMediaBundle
* SonataUserBundle
* SonataEasyExtendsBundle
* SonataIntlBundle
* SonatajQueryBundle

FOS Bundles
~~~~~~~~~~~

* FOSUserBundle

Behat Bundles
~~~~~~~~~~~~~

* MinkBundle
* BehatBundle

Installation
------------

Run the following commands::

    git clone https://github.com/ailove-dev/sf2.1-sonata.git project
    cd project
    rm -rf .git
    git init
    git add .gitignore *
    git commit -m "Initial commit"
    php bin/vendors install
    git add *
    git commit -m "add submodules"

.. note::

The ``bin/vendors`` script use composer.phar.

Database initialization
~~~~~~~~~~~~~~~~~~~~~~~

At this point, the ``app/console`` command should start with no issues. However some you need the complete some others step:

* database configuration (edit the ``../../conf/database`` file)

If DB not create run the command::

    app/console doctrine:database:create

For create schema run the command::

    app/console doctrine:schema:create

Add admin user
~~~~~~~~~~~~~~

Run the commands::

    app/console fos:user:create admin <EMAIL> admin --super-admin

Login to Sonata Admin
~~~~~~~~~~~~~~~~~~~~~

Open http://project-url.lo/admin/login in your browser and fill the authorization form


Enjoy!
<commit_msg>fix README<commit_after>Ailove Standard Edition
=======================

What's inside?
--------------

Ailove Standard Edition comes pre-configured with the following bundles:

Symfony Standard Edition
~~~~~~~~~~~~~~~~~~~~~~~~

* FrameworkBundle
* SensioFrameworkExtraBundle
* DoctrineBundle
* TwigBundle
* SwiftmailerBundle
* MonologBundle
* AsseticBundle
* JMSSecurityExtraBundle
* WebProfilerBundle (in dev/test env)
* SensioDistributionBundle (in dev/test env)
* SensioGeneratorBundle (in dev/test env)

Sonata Bundles
~~~~~~~~~~~~~~

* SonataAdminBundle - The missing Symfony2 Admin Generator
* SonataMediaBundle
* SonataUserBundle
* SonataEasyExtendsBundle
* SonataIntlBundle
* SonatajQueryBundle

FOS Bundles
~~~~~~~~~~~

* FOSUserBundle

Behat Bundles
~~~~~~~~~~~~~

* MinkBundle
* BehatBundle

Installation
------------

Run the following commands::

    git clone https://github.com/ailove-dev/sf2.1-sonata.git project
    cd project
    rm -rf .git
    php bin/vendors install
    git init
    git add .
    git commit -m "Initial commit"

.. note::

The ``bin/vendors`` script use composer.phar.

Database initialization
~~~~~~~~~~~~~~~~~~~~~~~

At this point, the ``app/console`` command should start with no issues. However some you need the complete some others step:

* database configuration (edit the ``../../conf/database`` file)

If DB not create run the command::

    app/console doctrine:database:create

For create schema run the command::

    app/console doctrine:schema:create

Add admin user
~~~~~~~~~~~~~~

Run the command::

    app/console fos:user:create admin <EMAIL> admin --super-admin

Login to Sonata Admin
~~~~~~~~~~~~~~~~~~~~~

Open http://project-url.lo/admin/login in your browser and fill the authorization form


Enjoy!

{'fraction_non_alphanumeric': 0.1606347438752784, 'fraction_numerical': 0.0016703786191536749, 'mean_word_length': 4.207246376811594, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1513373', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1015, 'n_words': 331}