open20 / amos-videoconference
Amos Videoconference
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:component
Requires
- php: >=5.4.0
- open20/amos-core: >=1.9
- open20/amos-notify: >=1.4
- softark/yii2-dual-listbox: ^1.0
This package is not auto-updated.
Last update: 2024-11-13 03:56:43 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