Giter Site home page Giter Site logo

knowledge-mw-service's Introduction

sunbird-content-service

This is the repository for content management micro-service.

The code in this repository is licensed under MIT unless otherwise noted. Please see the LICENSE file for details.

Pre Requirements

  1. Node
  2. Install imagemagick, graphicsmagick ref:https://www.npmjs.com/package/gm

Environment Variables:

  • sunbird_content_provider_api_base_url: content provider API base url. e.g.: https://qa.ekstep.in or https://api.ekstep.in
  • sunbird_content_repo_api_key: API key for the content provider URL
  • sunbird_search_service_api_key: API key for the search provider URL
  • sunbird_dial_repo_api_key : API key for the dial URL
  • sunbird_plugin_repo_api_key: API key for the plugin URL
  • sunbird_data_service_api_key: API key for the data service URL
  • sunbird_content_service_log_level : sets the log level e.g debug , info etc.
  • sunbird_language_service_api_key: API key for the language service
  • sunbird_default_channel: Default channel. e.g. sunbird (string)
  • sunbird_content_plugin_base_url: Content plugin base url. e.g.: https://qa.ekstep.in or https://community.ekstep.in
  • sunbird_environment: e.g : sunbird.env (string)
  • sunbird_instance : e.g : sunbird.ins(string)
  • sunbird_keycloak_auth_server_url: Sunbird keycloak auth server url e.g.: https://dev.open-sunbird.org/auth (string)
  • sunbird_keycloak_realm: Sunbird keycloak realm e.g.: sunbird (string)
  • sunbird_keycloak_client_id: Sunbird keycloak client id e.g: portal (string)
  • sunbird_keycloak_public: Sunbird keycloak public e.g.: true (boolean)
  • sunbird_cache_store: Sunbird cache store e.g.: memory (string)
  • sunbird_cache_ttl: Sunbird cachec time to live e.g.: 1800(number)
  • sunbird_image_storage_url
  • sunbird_azure_account_name
  • sunbird_azure_account_key
  • sunbird_dial_code_registry_url eg: staging.open-sunbird.org/dial/
  • sunbird_cassandra_ips e.g : 127.0.0.1,127.0.0.2
  • sunbird_cassandra_port e.g: 9042
  • sunbird_telemetry_sync_batch_size e.g: 20
  • sunbird_learner_service_local_base_url e.g: 'http://learner-service:9000'
  • sunbird_content_service_local_base_url e.g: 'http://localhost:5000'
  • sunbird_content_upload_data_limit: Content upload data limit e.g.: 50mb (string)

Setup Instructions

  • Clone the project.eg .(git clone --recursive url)
  • Run "git submodule init"
  • Run "git submodule update"
  • Run "git submodule update --init --recursive" to pull the latest sunbird-js-utils sub module (if you want to pull from specific branch, "git submodule foreach git pull origin 'branch_name'" )
  • Change to src folder
  • Run npm install
  • Run node app.js

Testing

  • Run "npm run test" to run test cases
  • Run "npm run coverage" to run test cases with coverage report

knowledge-mw-service's People

Contributors

amantarento avatar amitpriyadarshi avatar amorphous-1 avatar anoophm avatar beepdot avatar bvinayakumar avatar deveshmantra avatar g33tha avatar gandham-santhosh avatar harishgangula avatar harshavardhanc avatar karthik-tarento avatar kirang20 avatar kochhar avatar loganathan1989 avatar maheshkumargangula avatar manojvv avatar mathewjpallan avatar rahulshukla avatar rajathvb avatar rajeevsathish avatar revathip avatar rheafernandes avatar rjshrjndrn avatar souravdey091 avatar vinukumar-vs avatar vrayulu avatar yravinderkumar33 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

knowledge-mw-service'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.