Source code for new version of yiiframework.ru.
Project includes three tiers: front end, back end, and console, each of which is a separate Yii application.
1. Install framework and dependencies
You can then install this application template using the following command:
composer global require "fxp/composer-asset-plugin" composer install
2. Initialize configs
init in the root directory. Choose development environment.
Create a database. Copy
/config/db.php. Specify your database connection there.
Then apply migrations by running:
4. Setup webserver
Point your werbserver root to
There's nginx config you can check.
Optional installation steps
1. Configure github application
Create new GitHub OAuth application: https://github.com/settings/applications/new - authorization callback URL must lead to local site domain.
/config/authclients.php. Specify your application settings there.
Code style used in this project is PSR-2.