dev-master
9999999-devExample module for WaveCMS
MIT
The Requires
- yiisoft/yii2 ~2.0.6
- php >=5.6.0
The Development Requires
- php >=5.4.0
- yiisoft/yii2 ~2.0.6
Example module for WaveCMS
Example module for Yii 2 WaveCMS., (*1)
Please do all install steps first from Yii 2 WaveCMS., (*2)
The preferred way to install this extension is through composer., (*3)
Run, (*4)
composer require --prefer-source "mrstroz/yii2-wavecms-example" "dev-master"
or add, (*5)
"mrstroz/yii2-wavecms-example": "dev-master"
to the require section of your composer.json
file., (*6)
backend/config/main.php
(Yii2 advanced template) 'modules' => [ // ... 'wavecms-example' => [ 'class' => 'mrstroz\wavecms\example\Module' ], ],
Add the migrationPath
in console/config/main.php
and run yii migrate
:, (*7)
// Add migrationPaths to console config: 'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationPath' => [ '@vendor/mrstroz/yii2-wavecms-example/migrations' ], ], ],
Or run migrates directly, (*8)
yii migrate --migrationPath=@vendor/mrstroz/yii2-wavecms-example/migrations
Example module for WaveCMS
MIT