Giter VIP home page Giter VIP logo

pumukit2-open-edx-bundle's Introduction

PumukitOpenEdxBundle

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:

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

2.- PuMoodle Installation Guide

pumukit2-open-edx-bundle's People

Contributors

mreyk avatar rubenrua avatar alfro avatar yurujai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.