<commit_before>##UC Merced Zend 2 Template

##Installation:
Run git clone https://github.com/motobreath/UC-Merced-Template-V2.git <directory>

Update Submodules:

    git submodule init
    git submodule update

Include a local.php configuration file. Place this file in config/autoload. Sample local.php:

    return array(
        'db' => array(
            'dsn'      => 'mysql:dbname=####;host=####',
            'username' => '####',
            'password' => '####',
            'host' => 'localhost'
        ),
        'ldap'=>array(
            'host'              => '####',
            'username'          => '####',
            'password'          => '####',
            'baseDn'            => '####',
        ),
        "email"=>array(
            "smtp"=>array(
                'name'              => '####',
                'host'              => '####',
                'connection_class'  => 'login',
                'connection_config' => array(
                    'username' => '####',
                    'password' => '####',
            ),
        ),

    );

Note: Not all services are required. Remove each entry in the service manger from Application/Module.php if not using.


##Hosting:
Point your webserver to the public folder


## Administration Section
NOTE: Mysql database is required to run admin section.
It is possible to use other databases, just change the local.php configuration file to
Create local database

Run SQL in /data/SQL to create tables

Include local.php in the /config/autoload folder with database connectivity info for your database:

    <?php<commit_msg>updated readme with better installation instructions<commit_after>##UC Merced Zend 2 Template

##Installation:
Run git clone https://github.com/motobreath/UC-Merced-Template-V2.git <directory>

Update Submodules:

    git submodule init
    git submodule update

Include a local.php configuration file. Place this file in config/autoload. Sample local.php:

    return array(
        'db' => array(
            'dsn'      => 'mysql:dbname=####;host=####',
            'username' => '####',
            'password' => '####',
            'host' => 'localhost'
        ),
        'ldap'=>array(
            'host'              => '####',
            'username'          => '####',
            'password'          => '####',
            'baseDn'            => '####',
        ),
        "email"=>array(
            "smtp"=>array(
                'name'              => '####',
                'host'              => '####',
                'connection_class'  => 'login',
                'connection_config' => array(
                    'username' => '####',
                    'password' => '####',
            ),
        ),

    );

Note: Not all services are required. Remove each entry in the service manger from Application/Module.php if not using.


##Hosting:
Point your web server to the public folder. Additional Information coming soon...


## Administration Section:
NOTE: Mysql database is required to run admin section.
It is possible to use other databases, just change the local.php configuration file to
Create local database

Run SQL in /data/SQL to create tables

Include local.php in the /config/autoload folder with database connectivity info for your database:

    <?php
{'fraction_non_alphanumeric': 0.1390909090909091, 'fraction_numerical': 0.0012121212121212121, 'mean_word_length': 1.8779424585876199, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 41, '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': '3416351', 'n_tokens_mistral': 884, 'n_tokens_neox': 845, 'n_words': 271}