PHP CSS JavaScript Other
Latest commit 5f24f7b Jan 16, 2017 @rugabarbo rugabarbo committed with Улучшена пагинация новостей (вид URL и SEO-настройки) (#101)
1. Issue #98: URL пагинации приведён к виду /news/N
2. Добавлена регистрация связующих мета-тэгов для поисковых роботов
3. Для поисковых роботов добавлена опция "noindex,follow", если номер страницы > 1

Сопутствующие исправления:
* удалён лишний импорт HttpException
Permalink
Failed to load latest commit information.
actions Fixed paths and namespaces Dec 4, 2016
assets Use CodeMirror for markdown editing Jan 13, 2017
commands Initial RBAC setup Dec 5, 2016
components RSS Dec 4, 2016
config Улучшена пагинация новостей (вид URL и SEO-настройки) (#101) Jan 16, 2017
controllers Улучшена пагинация новостей (вид URL и SEO-настройки) (#101) Jan 16, 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 Fixed #90: исправлен мета-title на главной (#92) Jan 14, 2017
migrations Initial RBAC setup Dec 5, 2016
models Posts management Dec 5, 2016
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 Улучшена пагинация новостей (вид URL и SEO-настройки) (#101) Jan 16, 2017
widgets Moved accidentally moved widgets Dec 4, 2016
www Use CodeMirror for markdown editing Jan 13, 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 Issue #99: автокомплит-файл (#100) Jan 16, 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.