PHP CSS JavaScript Other
Latest commit cd2223b Jan 23, 2017 @damasco damasco committed with fixed variable name (#114)
Permalink
Failed to load latest commit information.
actions Fixed paths and namespaces Dec 4, 2016
assets Issue #44: Подсветка кода в Cookbook 1.1 (#112) Jan 22, 2017
commands fixed variable name (#114) Jan 23, 2017
components Issue #45: Замена классов/методов ссылками в Cookbook 1.1 (#106) Jan 22, 2017
config ЧПУ пагинации пользователей (#107) Jan 22, 2017
controllers Fixes #81: улучшение перехода между страницами новостей Jan 22, 2017
environments Preparations for using rollbar Dec 5, 2016
forms Fixes #84: Translation corrections Dec 6, 2016
helpers Implemented [cut] tag Dec 4, 2016
logs Added empty logs dir Aug 13, 2015
mail Set application name, emails, translated password reset email Dec 5, 2016
messages Issue #89: Расширение SEO-возможностей сайта (#102) Jan 19, 2017
migrations Initial RBAC setup Dec 5, 2016
models ЧПУ пагинации пользователей (#107) Jan 22, 2017
permissions Posts management Dec 5, 2016
rbac Initial RBAC setup Dec 5, 2016
runtime Changed project structure Dec 4, 2016
server Changed project structure Dec 4, 2016
util Changed project structure Dec 4, 2016
views Issue #44: Подсветка кода в Cookbook 1.1 (#112) Jan 22, 2017
widgets Исправления форматирования кода и импортов (#103) Jan 20, 2017
www Fixes #81: улучшение перехода между страницами новостей Jan 22, 2017
.bowerrc Initial yii2 app advanced Aug 13, 2015
.gitignore Changed project structure Dec 4, 2016
.gitmodules Use public repo for submodule Dec 4, 2016
LICENSE.md Initial yii2 app advanced Aug 13, 2015
README.md Документация по настройке dev-приложения на GitHub (#96) Jan 14, 2017
autocompletion.php PhpDoc для Issue #105: поможет подсвечивать вызовы Yii::t() в IDE как… Jan 22, 2017
composer.json Use CodeMirror for markdown editing Jan 13, 2017
composer.lock Use CodeMirror for markdown editing Jan 13, 2017
init Initial yii2 app advanced Aug 13, 2015
init.bat Initial yii2 app advanced Aug 13, 2015
requirements.php Initial yii2 app advanced Aug 13, 2015
yii.bat Initial yii2 app advanced Aug 13, 2015

README.md

yiiframework.ru

Source code for new version of yiiframework.ru.

Join the chat at https://gitter.im/samdark/yiiframework-ru

Overview

Project includes three tiers: front end, back end, and console, each of which is a separate Yii application.

Installation

1. Install framework and dependencies

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this application template using the following command:

composer global require "fxp/composer-asset-plugin"
composer install

2. Initialize configs

Run init in the root directory. Choose development environment.

3. Database

Create a database. Copy /config/system/db.php to /config/db.php. Specify your database connection there.

Then apply migrations by running:

yii migrate

4. Setup webserver

Point your werbserver root to web directory. 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. Copy /config/system/authclients.php to /config/authclients.php. Specify your application settings there.

Code style

Code style used in this project is PSR-2.