Skip to content

andrtechno/mod-forsage-studio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module forsage

Module for PIXELION CMS

Forsage API documentation

Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads Daily Downloads License

Installation

The preferred way to install this extension is through composer.

Either run

php composer require --prefer-dist panix/mod-forsage-studio "*"

or add

"panix/mod-forsage-studio": "*"

to the require section of your composer.json file.

Add to common config.

'bootstrap' => [
    ..
    'queue',
],
'components' => [
    ...
    'queue' => [
        'class' => 'yii\queue\db\Queue',
        'channel' => 'default', // Выбранный для очереди канал
        'mutexTimeout' => 5,
        'ttr' => 2 * 60, // Максимальное время выполнения задания
        'attempts' => 3, // Максимальное кол-во попыток
        'deleteReleased' => true,
        'mutex' => \yii\mutex\MysqlMutex::class, // Мьютекс для синхронизации запросов
        'as log' => \yii\queue\LogBehavior::class,
        // Other driver options
    ],
]

Add to console config.

'controllerMap' => [
    'migrate' => [
        ...
        'migrationNamespaces' => [
            'yii\queue\db\migrations',
        ],
    ]
],

Add to web config.

'modules' => [
    'forsage' => [
        'class' => 'panix\mod\forsage\Module',
    ],
],
'components' => [
    'log' => [
        ..
        'targets'=>[
            [
                'class' => 'panix\engine\log\FileTarget',
                'logFile' => '@runtime/logs/forsage.log',
                'categories' => ['forsage'],
                'logVars' => []
            ]
        ]
    ],
]

Migrate

php cmd migrate --migrationPath=vendor/panix/mod-forsage-studio/migrations

PIXELION CMS!
Content Management System "PIXELION CMS"
www.pixelion.com.ua

The module is under development, any moment can change everything.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages