teltek/pmk2-paella-stats-ui-bundle

PuMuKIT 的 Paella 统计 UI

安装: 20

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 8

分支: 0

公开问题: 1

语言:HTML

类型:symfony-bundle

1.0.0 2019-06-05 11:32 UTC

README

基于 Symfony 的 Bundle,用于与 PuMuKIT 视频平台 一起工作。

Stats

安装

步骤 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