Class app\commands\AppController

Inheritanceapp\commands\AppController » dmstr\console\controllers\BaseAppController

Task runner command for development.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$defaultAction app\commands\AppController

Public Methods

Hide inherited methods

MethodDescriptionDefined By
actionClearAssets() Clear [application]/web/assets folder app\commands\AppController
actionCreateMysqlDb() Create database and grant permissions based on ENV vars, skip if empty app\commands\AppController
actionGenerateDocs() Generate application and required vendor documentation app\commands\AppController
actionRunTests() Run all test suites with web-server from PHP executable app\commands\AppController
actionSetup() Initial application setup app\commands\AppController
actionSetupAdminUser() Setup admin user (create, update password, confirm) app\commands\AppController
actionSetupDocs() Install packages for documentation rendering app\commands\AppController
actionSetupTests() Install packages for application testing app\commands\AppController
actionUpdate() Update application and vendor source code, run database migrations, clear cache app\commands\AppController
actionVersion() Displays application version from git describe and writes it to version app\commands\AppController
actionVirtualHost() Setup vhost with virtualhost.sh script app\commands\AppController
init() app\commands\AppController

Property Details

$defaultAction public property
$defaultAction 'version'

Method Details

actionClearAssets() public method

Clear [application]/web/assets folder

void actionClearAssets( )
actionCreateMysqlDb() public method

Create database and grant permissions based on ENV vars, skip if empty

void actionCreateMysqlDb$db null )
$db

Database name

actionGenerateDocs() public method

Generate application and required vendor documentation

void actionGenerateDocs( )
actionRunTests() public method

Run all test suites with web-server from PHP executable

void actionRunTests( )
actionSetup() public method

Initial application setup

void actionSetup( )
actionSetupAdminUser() public method

Setup admin user (create, update password, confirm)

void actionSetupAdminUser( )
actionSetupDocs() public method

Install packages for documentation rendering

void actionSetupDocs( )
actionSetupTests() public method

Install packages for application testing

void actionSetupTests( )
actionUpdate() public method

Update application and vendor source code, run database migrations, clear cache

void actionUpdate( )
actionVersion() public method

Displays application version from git describe and writes it to version

void actionVersion( )
actionVirtualHost() public method

Setup vhost with virtualhost.sh script

void actionVirtualHost( )
init() public method

void init( )