Class app\commands\AppController
Inheritance | app\commands\AppController » dmstr\console\controllers\BaseAppController |
---|
Task runner command for development.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$defaultAction | app\commands\AppController |
Public Methods
Method | Description | Defined 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
Method Details
Clear [application]/web/assets folder
void actionClearAssets( ) |
Create database and grant permissions based on ENV vars, skip if empty
void actionCreateMysqlDb( $db = null ) | ||
$db | Database name |
Generate application and required vendor documentation
void actionGenerateDocs( ) |
Run all test suites with web-server from PHP executable
void actionRunTests( ) |
Initial application setup
void actionSetup( ) |
Setup admin user (create, update password, confirm)
void actionSetupAdminUser( ) |
Install packages for documentation rendering
void actionSetupDocs( ) |
Install packages for application testing
void actionSetupTests( ) |
Update application and vendor source code, run database migrations, clear cache
void actionUpdate( ) |
Displays application version from git describe and writes it to version
void actionVersion( ) |
Setup vhost with virtualhost.sh script
void actionVirtualHost( ) |
void init( ) |