2017 © Pedro Peláez
 

yii2-extension yii2-wavecms-example

Example module for WaveCMS

image

mrstroz/yii2-wavecms-example

Example module for WaveCMS

  • Friday, April 27, 2018
  • by mrstroz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-wavecms-example

Example module for Yii 2 WaveCMS., (*1)

Please do all install steps first from Yii 2 WaveCMS., (*2)

Installation

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)

Required

  1. Update backend/config/main.php (Yii2 advanced template)
'modules' => [
    // ...
    'wavecms-example' => [
        'class' => 'mrstroz\wavecms\example\Module'
    ],
],
  1. Run migration

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

The Versions

27/04 2018

dev-master

9999999-dev

Example module for WaveCMS

  Sources   Download

MIT

The Requires

 

The Development Requires