teltek / pmk2-paella-stats-ui-bundle
PuMuKIT 的 Paella 统计 UI
1.0.0
2019-06-05 11:32 UTC
Requires
- php: >=5.5.9
- pumukit/pumukit2: >=2.3
- teltek/pumukit-paella-stats-bundle: >=1.0
This package is auto-updated.
Last update: 2024-09-12 18:06:22 UTC
README
基于 Symfony 的 Bundle,用于与 PuMuKIT 视频平台 一起工作。
安装
步骤 1 和 2 需要您全局安装 Composer,具体请参考 Composer 文档的 安装章节。
步骤 1:下载 Bundle
打开命令行,进入您的项目目录,并执行以下命令以下载此 Bundle 的最新稳定版本
$ composer require teltek/pumukit-paella-stats-ui-bundle dev-master
步骤 2:卸载默认 UI 统计 Bundle
为了使 Paella 播放器统计 UI 正确工作,需要卸载 StatsUIBundle
通过执行以下行命令卸载该 Bundle。此命令更新 Kernel 以删除 Bundle(app/AppKernel.php)并从(app/config/routing.yml)中卸载数据绑定路由。
$ php app/console pumukit:install:bundle --uninstall Pumukit/StatsUIBundle/PumukitStatsUIBundle
步骤 3:安装 Bundle
通过执行以下行命令安装 Bundle。此命令更新 Kernel 以启用 Bundle(app/AppKernel.php)并将路由(app/config/routing.yml)添加到 Bundle 路由中。
.
$ php app/console pumukit:install:bundle Pumukit/PaellaStatsUIBundle/PumukitStatsUIBundle
步骤 4:更新资源
$ php app/console cache:clear $ php app/console cache:clear --env=prod $ php app/console assets:install