Publication time: Monday, March 14, 2016 (3 years ago)

Created by: Семенов Александр Сергеевич

Category: Other

Current version: 1.0.5
Aug 3, 2017, 12:15:38 PM (2 years ago)

Packagist: yii-dream-team/yii2-lockable-activerecord

: https://github.com/yii-dream-team/yii2-lockable-activerecord

: 16625 (Per month: 720)

Type of:


All Comments (0)
No Comments

dev-master — Aug 3, 2017, 12:15:38 PM (2 years ago)

1.0.5 — Aug 3, 2017, 12:15:38 PM (2 years ago)

1.0.4 — Sep 29, 2015, 7:48:44 AM (4 years ago)

1.0.2 — Jul 16, 2015, 12:19:19 PM (4 years ago)

1.0.3 — Jul 16, 2015, 12:19:19 PM (4 years ago)

1.0.1 — Jul 16, 2015, 11:32:55 AM (4 years ago)

1.0.0 — Mar 23, 2015, 1:58:07 PM (4 years ago)

Стандартная установка:

  1. Установка файлов

    # Download latest version of composer
    curl -sS https://getcomposer.org/installer | COMPOSER_HOME=.composer php
    # Installing the base project SkeekS CMS
    COMPOSER_HOME=.composer php composer.phar create-project --no-install --prefer-dist yii-dream-team/yii2-lockable-activerecord demo.ru
    # Going into the project folder
    cd demo.ru
    # Download latest version of composer in project
    curl -sS https://getcomposer.org/installer | COMPOSER_HOME=.composer php
    # Extra plug-ins
    COMPOSER_HOME=.composer php composer.phar global require fxp/composer-asset-plugin --no-plugins
    # Download dependency
    COMPOSER_HOME=.composer php composer.phar install -o
    # Run the command to initialize the project, the installer executable file and the necessary rights to the directory
    php yii cms/init
  2. Конфигурирование базы данных

    Отредактируйте файл доступа к базе данных, он находится по адресу common/config/db.php

  3. Установка миграций

    php yii dbDumper/mysql/restore

Подробнее про установку написано тут