teltek/pmk2-openedx-bundle
Composer 安装命令:
composer require teltek/pmk2-openedx-bundle
包简介
Open edX Bundle.
README 文档
README
Bundle based on Symfony to work with the PuMuKIT2 Video Platform.
This bundle adds an API for an Open edX instance to be able to connect to Media Manager. It is intented to work along with:
- PuMuKIT2 Video Platform version 2.3.x
- Open edX version open-release/ficus
- PuMuKIT2 Opencast Video XBlock
Installation steps
Requirements
Steps 1 and 2 requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 1: Introduce repository in the root project composer.json
Open a command console, enter your project directory and execute the following command to add this repo:
$ composer config repositories.pumukitopenedxbundle vcs https://github.com/teltek/PuMuKIT2-open-edx-bundle.git
Step 2: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require teltek/pmk2-openedx-bundle dev-master
Step 3: Install the Bundle
Install the bundle by executing the following line command. This command updates the Kernel to enable the bundle (app/AppKernel.php) and loads the routing (app/config/routing.yml) to add the bundle route
s.
$ cd /path/to/pumukit2/
$ php app/console pumukit:install:bundle Pumukit/OpenEdxBundle/PumukitOpenEdxBundle
Step 4: Configure Bundle
Go to Resources/doc/Configuration.md
Step 5: Install Open edX Publication Channel
Install the Open edX Publication Channel with tag code PUCHOPENEDX.
$ cd /path/to/pumukit2/
$ php app/console openedx:init:pubchannel
Step 6: Add the PUCHOPENEDX tag code to the desire encoder profiles
Edit your app/config/encoder.yml profile to add the PUCHOPENEDX tag code to the desire encoder profiles,
so in case a multimedia object has this Tag, the Tracks with those profiles will be genereated.
For example, if you want to generate a video_h264 Track each time the Open edX Publication Channel is
added to a Multimedia Object, you should add the tag code this way:
pumukit_encoder:
...
profiles:
video_h264:
...
target: PUCHWEBTV PUCHPODCAST PUCHOPENEDX
For PuMuKIT latest version of 2.3.x and 2.4.x, add this configuration to encoder.yml as well:
pumukit_encoder:
target_default_profiles:
PUCHOPENEDX:
video: "video_h264"
Step 7: (Optional) Set the permissions
Add the "Init Multimedia Objects in published status" role to those users with a permission profiele with personal scope, if you want them to publish their own videos immediately. Example for "Auto Publisher" permission profile:
php app/console pumukit:permission:update "Auto Publisher" ROLE_INIT_STATUS_PUBLISHED
Step 8: Override PumukitNewAdminBundle:MultimediaObject:list.html.twig template
If your server has PuMuKIT 2.3.x installed, execute:
php app/console openedx:init:resources 2.3.x
If your server has PuMuKIT 2.4.x installed, execute:
php app/console openedx:init:resources 2.4.x
Clear cache:
php app/console cache:clear && php app/console cache:clear --env=prod
Documentation
1.- Configuration
teltek/pmk2-openedx-bundle 适用场景与选型建议
teltek/pmk2-openedx-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 37 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 10 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Symfony2」 「bundle」 「pumukit」 「openedx」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 teltek/pmk2-openedx-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 teltek/pmk2-openedx-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 teltek/pmk2-openedx-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
2lenet/EasyAdminPlusBundle
The bundle for easy using json-rpc api on your project
Pumukit Lms Bundle.
Provide a way to secure accesses to all routes of an symfony application.
DMS Meetup API Bundle, enables Meetup API clients in services
PuMuKIT external ingest API
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2017-10-05