teltek / pmk2-geant-webtv-bundle
GEANT WebTVBundle。
1.1.1
2016-03-07 10:18 UTC
Requires
- php: >=5.5.9
- pumukit/pumukit2: 2.2.*
- symfony/framework-bundle: ~2.0
- twig/twig: ~1.5
This package is auto-updated.
Last update: 2024-09-11 14:56:09 UTC
README
基于Symfony的Bundle,用于与PuMuKIT2视频平台协同工作。
此Bundle覆盖了PuMuKIT-2 WebTV Bundle。它作为Geant-OER项目的Web门户开发,该项目旨在创建一个欧洲教育多媒体资源学习库。
安装
步骤1和2需要您全局安装Composer,具体说明请参阅Composer文档中的安装章节。
步骤1:在根项目的composer.json中引入仓库
打开命令行控制台,进入您的项目目录,并执行以下命令以添加此仓库
$ composer config repositories.pumukitgeantwebtvbundle vcs https://github.com/teltek/PuMuKIT2-geant-bundle.git
步骤2:下载Bundle
打开命令行控制台,进入您的项目目录,并执行以下命令以下载此Bundle的最新稳定版本
$ composer require teltek/pmk2-geant-webtv-bundle dev-master
步骤3:安装Bundle
通过执行以下行命令安装Bundle。此命令更新Kernel以启用Bundle(app/AppKernel.php),并加载路由(app/config/routing.yml)以添加Bundle路由
.
$ php app/console pumukit:install:bundle Pumukit/Geant/WebTVBundle/PumukitGeantWebTVBundle
步骤4:安装Podcast Bundle并初始化iTunesU标签。
为了使此Bundle正常工作,还需要安装Podcast Bundle
$ php app/console pumukit:install:bundle Pumukit/PodcastBundle/PumukitPodcastBundle $ php app/console podcast:init:itunesu --force
步骤5:更新资源
$ php app/console cache:clear $ php app/console cache:clear --env=prod $ php app/console assets:install
其他
Feed同步脚本
从PuMuKIT2项目(通常为/var/www/pumukit2)的根目录执行以下脚本,指定环境的URL以同步Géant Feed与PuMuKIT 2数据库。可以手动执行或使用cron任务执行。
$ ./bin/geant_syncfeed_import https://example.com