iamborisov / challenger

Yii2 Application for online tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Challenger

REQUIREMENTS

  • PHP 5.4.0.
  • composer

INSTALLATION

  • 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!

CONFIGURATION

Database

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',
];

About

Yii2 Application for online tests

License:Other


Languages

Language:JavaScript 41.2%Language:HTML 31.3%Language:CSS 24.2%Language:PHP 2.6%Language:CoffeeScript 0.6%Language:Batchfile 0.0%Language:ApacheConf 0.0%Language:Shell 0.0%Language:ASP 0.0%