Code Monkey home page Code Monkey logo

kmc-live-dashboard's Introduction

LiveDashboard

This project was generated with Angular CLI version 1.0.0.

Development

Development server

  1. Copy file index.tpl.html and rename it to index.html (in the same path)
  2. Fill all params at the new file.
  3. Run ng serve for a dev server.
  4. Navigate to http://localhost:4200/dev

ClientLib Setup

  1. Open folder 'kaltura-typescript-client-custom' in terminal.
  2. Run npm link
  3. Open application root folder (where package.json exists).
  4. Run npm link kaltura-typescript-client

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

  1. Open terminal and move to project's folder.
  2. Run the following build command: ng build -bh /apps/liveDashboard/{version} --env=prod where {version} is the version of the build (e.g. v0.1.20).
  3. Remove the folder dev from the new dist folder that was created after the build.
  4. Rename dist folder to the version name.
  5. Zip the renamed folder.

Deployment instructions

KMC Deployment

  1. Go to kmc-live-dashboard repository in GitHub.
  2. Under releases locate the desired version you wish to deploy.
  3. Download the zip file do the following directory: /opt/kaltura/apps/liveDashboard.
  4. Unzip the file and make sure folder contains the bew version (e.g. /opt/kaltura/apps/liveDashboard/v0.1.20).

Note: In order for KMC to run the new version it must match the liveDashboard version in the base.ini configuration file!

Testing Section

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

kmc-live-dashboard's People

Contributors

kalturaguy avatar noam-arad avatar

Stargazers

Alexandre Aguiar avatar

Watchers

iKinnrot avatar James Cloos avatar Kaltura bot avatar Eran Etam avatar  avatar  avatar  avatar KCorpIT avatar  avatar  avatar  avatar Kaltura GitHub Hooks avatar  avatar  avatar  avatar  avatar

Forkers

borhandarabi

kmc-live-dashboard's Issues

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.