<commit_before>Yii 2 Template
===============================
[![Build Status](https://travis-ci.org/purocean/yii2-template.svg?branch=master)](https://travis-ci.org/purocean/yii2-template)

Install
-------------------
```bash
composer global require "fxp/composer-asset-plugin:^1.2.0"
composer install --prefer-dist
./init
vim /common/config/main.php # change language or time zone
vim /common/config/main-local.php
vim /common/config/params-local.php
./yii migrate
./yii rbac # manage user, change admin password
./yii serve -t=@frontend/web # run server
```

Test
-------------------
```bash
vim /common/config/test-local.php
./yii_test migrate
composer exec codecept build
composer exec codecept run
```<commit_msg>Add badge poser<commit_after>Yii 2 Template
===============================
[![composer.lock](https://poser.pugx.org/purocean/yii2-template/composerlock)](https://packagist.org/packages/purocean/yii2-template)
[![Build Status](https://travis-ci.org/purocean/yii2-template.svg?branch=master)](https://travis-ci.org/purocean/yii2-template)
[![Latest Stable Version](https://poser.pugx.org/purocean/yii2-template/v/stable)](https://packagist.org/packages/purocean/yii2-template)
[![Total Downloads](https://poser.pugx.org/purocean/yii2-template/downloads)](https://packagist.org/packages/purocean/yii2-template)
[![License](https://poser.pugx.org/purocean/yii2-template/license)](https://packagist.org/packages/purocean/yii2-template)

Install
-------------------
```bash
composer global require "fxp/composer-asset-plugin:^1.2.0"
composer install --prefer-dist
./init
vim /common/config/main.php # change language or time zone
vim /common/config/main-local.php
vim /common/config/params-local.php
./yii migrate
./yii rbac # manage user, change admin password
./yii serve -t=@frontend/web # run dev server
```

Test
-------------------
```bash
vim /common/config/test-local.php
./yii_test migrate
composer exec codecept build
composer exec codecept run
```
{'fraction_non_alphanumeric': 0.21703853955375255, 'fraction_numerical': 0.010141987829614604, 'mean_word_length': 4.151436031331593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, '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': '2415616', 'n_tokens_mistral': 696, 'n_tokens_neox': 664, 'n_words': 118}