panix / mod-forsage-studio
Module forsage
Installs: 80
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:pixelion-module
Requires
- panix/engine: *
- yiisoft/yii2-queue: 2.x-dev
README
Module for PIXELION CMS
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
Content Management System "PIXELION CMS"
www.pixelion.com.ua
The module is under development, any moment can change everything.