Based on Yii 2
assets/ contains assets definition
commands/ contains console commands (controllers)
config/ contains application configurations
data/ contains flat data storage (json)
mail/ contains view files for e-mails
models/ contains model classes
modules/ contains app modules
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
web/ contains the entry script and Web resources
composer global require "fxp/composer-asset-plugin:~1.1.1"
composer install
config/web-local.php
return [
'components' => [
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'cookieValidationKey' => '',
],
],
];
config/main-local.php
return [
'components' => [
'db' => [
'dsn' => 'mysql:host=localhost;dbname=hectare',
'username' => 'root',
'password' => '',
],
],
];
This step combines running migrations, seeding database tables with lookup values and importing values from original Joomla database table dumps
#!shell
./init