- PHP 5.4.0.
- composer
- Clone repo
git clone https://github.com/iamborisov/challenger.git
- Install dependencies
composer update
- Create database and configure db connection (see Configuration/Database)
- Run database migrations
./yii migrate
- Setup your web server with default Yii2 configuration
http://www.yiiframework.com/doc-2.0/guide-start-installation.html#configuring-web-servers
- ???
- PROFIT!
Edit the file config/db.php
with real data, for example:
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root',
'password' => '1234',
'charset' => 'utf8',
];