The minimum requirement by this project template that your Web server supports PHP 5.4.0.
First you need to clone the repository of this project:
git clone https://github.com/pivasikkost/test-case-zinchenko <target folder>
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
Some project files are not contained in the repository, to install them, go to the project directory and execute the command:
php composer.phar install
Then you need to copy the config/db_default.php
file to config/db.php
and specify the actual database access for your server, fox example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
];
Then you need to create a database for this project and fill it with migrations. You will need to go to the project directory and execute the command:
php yii migrate
After the done actions you need only to configure the web server and go to host url