arter / amos-videoconference
There is no license information available for the latest version (1.0.5) of this package.
Amos Videoconference
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.0.5
2022-05-04 16:00 UTC
Requires
- php: >=5.4.0
- arter/amos-core: >=1.9
- arter/amos-notify: >=1.4
- softark/yii2-dual-listbox: ^1.0
This package is auto-updated.
Last update: 2024-06-16 20:07:17 UTC
README
Plugin for E015 common modules.
Installation
1. The preferred way to install this extension is through composer.
Either run
composer require arter/amos-videoconference
or add this row
"arter/amos-videoconference": "dev-master"
to the require section of your composer.json
file.
2. Add module to your main config in common:
<?php
'modules' => [
'videoconference' => [
'class' => 'arter\amos\videoconference\AmosVideoconference',
'rbacEnabled' => false,
'jitsiDomain' => 'jitsi-server.example.com',
],
],
Set jitsiDomain to the Jitsi server address.
3. Apply migrations
php yii migrate/up --migrationPath=@vendor/arter/amos-videoconference/src/migrations
or add this row to your migrations config in console:
<?php
return [
'@vendor/arter/amos-videoconference/src/migrations',
];
4. Configuration for sending email from console
insert in /console/component-others.php
'urlManager' => [
'class' => 'yii\web\UrlManager',
'baseUrl' => '/',
'hostInfo' => 'http://example.org',
// Disable index.php
'showScriptName' => false,
// Disable r= routes
'enablePrettyUrl' => true,
'rules' => array(
'<module:[\w-]+>/<controller:[\w-]+>/<action:[\w-]+>/<id:\d+>] => <module>/<controller>/<action>',
),
],
change the paramater 'hostInfo' with the base url of your application, it is required for insert images inside the email template.
5. Console command for crons
The console command to launch the cron is:
php yii videoconference/cron/start_video_conference
php yii videoconference/cron/send_email_reminder