Authentication:
Login: demo
Password: demo
Edit the file config/db.php
with real data, for example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=rgk',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
];
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
If you do not have Composer-Asset-Plugin installed, you may install it by running command: php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
- Create a new database and adjust it configuration in
common/config/db.php
accordingly. - Run command 'composer install'
- Apply migrations with console commands:
php yii migrate
- This will create tables needed for the application to work.