<commit_before>Official Vegas CMF page.
======================

Check online version [here](http://cmf.vegas)

Requirements
------------
1. PHP >= 5.4

2. Phalcon extension

    The **Vegas CMF** based on the **Phalcon** framework (in version 1.3), which works as php extension.
    Check [http://docs.phalconphp.com/en/latest/reference/install.html](http://docs.phalconphp.com/en/latest/reference/install.html) for more information.

3. Mongo and **PHP mongo extension**

How to setup page
-----------------
1. After cloning repo you need to run **composer** from project root directory and install latest vendors.
    ```
    php composer.phar install
    ```
    **Problem?** If you have trouble with this step check [https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) for info how to install composer.

2. Create your **app/config/config.php** file, you can do it by copying and modifying **app/config/config.sample.php** file.
    ```
    cp app/config/config.sample.php app/config/config.php
    ```

3a. Publish default forms and media assets by running this command:
    ```
    php cli/cli.php vegas:assets publish

    ```
    **Problem?** Some of files are already included in this project's public/assets directory so don't worry about *File already exists.* notices.

3b. Install assets defined in bower.json
    ```
    cd public/assets
    bower install
    ```
4. Create default user:
    ```
    php cli/cli.php app:user:user create -e=<EMAIL> -p=pa55w0rd -n="Vegas User"
    ```

5. For virtual host configuration check: [http://vegas-cmf.github.io/1.0/getting-started.html](http://vegas-cmf.github.io/1.0/getting-started.html)<commit_msg>readme update(2)<commit_after>Official Vegas CMF page.
======================

Check online version [here](http://cmf.vegas)

Requirements
------------
1. PHP >= 5.4

2. Phalcon extension

    The **Vegas CMF** based on the **Phalcon** framework (in version 1.3), which works as php extension.
    Check [http://docs.phalconphp.com/en/latest/reference/install.html](http://docs.phalconphp.com/en/latest/reference/install.html) for more information.

3. Mongo and **PHP mongo extension**

How to setup page
-----------------
1. After cloning repo you need to run **composer** from project root directory and install latest vendors.
    ```
    php composer.phar install
    ```
    **Problem?** If you have trouble with this step check [https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) for info how to install composer.

2. Create your **app/config/config.php** file, you can do it by copying and modifying **app/config/config.sample.php** file.
    ```
    cp app/config/config.sample.php app/config/config.php
    ```

3. Publish default forms and media assets by running this command:
    ```
    php cli/cli.php vegas:assets publish

    ```
    **Problem?** Some of files are already included in this project's public/assets directory so don't worry about *File already exists.* notices.

4. Install assets defined in bower.json
    ```
    cd public/assets
    bower install
    ```
5. Create default user:
    ```
    php cli/cli.php app:user:user create -e=<EMAIL> -p=pa55w0rd -n="Vegas User"
    ```

6. For virtual host configuration check: [http://vegas-cmf.github.io/1.0/getting-started.html](http://vegas-cmf.github.io/1.0/getting-started.html)
{'fraction_non_alphanumeric': 0.15591860131842936, 'fraction_numerical': 0.01404413872169676, 'mean_word_length': 3.3300248138957818, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '5116191', 'n_tokens_mistral': 1134, 'n_tokens_neox': 1067, 'n_words': 328}