2017 © Pedro Peláez
 

project yiichimp-app-basic

Yii Chimp Basic Project Template

image

ushainformatique/yiichimp-app-basic

Yii Chimp Basic Project Template

  • Friday, June 30, 2017
  • by ushainformatique
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

YiiChimp Basic Project Template

This template is evolved from Yii2 Basic Project Template., (*1)

The template contains the basic features provided by Yii2 along with the addition of demo client module which would demonstrate the crud operations using YiiChimp architectural changes., (*2)

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 5.4.0., (*3)

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org., (*4)

You can then install this project template using the following command:, (*5)

php composer.phar global require "fxp/composer-asset-plugin:^1.3.1"
php composer.phar create-project --prefer-dist ushainformatique/yiichimp-app-basic yiichimpbasic

Now you should be able to access the application through the following URL, assuming basic is the directory directly under the Web root., (*6)

http://localhost/yiichimpbasic/web/

Install from an Archive File

Extract the archive file downloaded from github.com to a directory named yiichimpbasic that is directly under the Web root., (*7)

Set cookie validation key in config/web.php file to some random secret string:, (*8)

'request' => [
    // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
    'cookieValidationKey' => '<secret random string goes here>',
],

You can then access the application through the following URL:, (*9)

http://localhost/yiichimpbasic/web/

CONFIGURATION

Database

Edit the file config/db.php with real data, for example:, (*10)

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yiichimp',
    'username' => 'root',
    'password' => '',
    'charset' => 'utf8',
];

NOTES: - YiiChimp won't create the database for you, this has to be done manually before you can access it. - Check and edit the other files in the config/ directory to customize your application as required., (*11)

Install Framework Modules Tables and Data

The framework is provided with modules like users, auth, settings, services and notifications. In case the tables and data for these modules has to be installed, the following commands has to be executed., (*12)

yii build/tables yii build/super yii build/data, (*13)

The first command would build the module tables. The second command would install the super user for the application. The third command would install the data for the modules., (*14)

The Versions

30/06 2017

dev-master

9999999-dev

Yii Chimp Basic Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 project template basic yiichimp