open20/amos-videoconference

There is no license information available for the latest version (1.0.7) of this package.

Amos Videoconference

1.0.7 2020-05-27 18:22 UTC

This package is not auto-updated.

Last update: 2020-09-22 07:58:44 UTC


README

Plugin for E015 common modules.

Installation

1. The preferred way to install this extension is through composer.

Either run

composer require open20/amos-videoconference

or add this row

"open20/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' => 'open20\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/open20/amos-videoconference/src/migrations

or add this row to your migrations config in console:

<?php
return [
    '@vendor/open20/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