@@ -5,38 +5,34 @@ This is the repository for content management micro-service.
55The code in this repository is licensed under MIT unless otherwise noted. Please see the [ LICENSE] ( https://github.com/project-sunbird/sunbird-content-service/blob/master/LICENSE ) file for details.
66
77## Pre Requirements
8- 1 . Node
9- 2 . Install imagemagick, graphicsmagick ref:https://www.npmjs.com/package/gm
8+ 1 . Node JS
109
1110## Environment Variables:
12- * sunbird_content_provider_api_base_url: content provider API base url. e.g.: https://qa.ekstep.in or https://api.ekstep.in
1311* sunbird_content_repo_api_key: API key for the content provider URL
1412* sunbird_search_service_api_key: API key for the search provider URL
1513* sunbird_dial_repo_api_key : API key for the dial URL
1614* sunbird_plugin_repo_api_key: API key for the plugin URL
1715* sunbird_data_service_api_key: API key for the data service URL
18- * sunbird_content_service_log_level : sets the log level e.g debug , info etc.
16+ * sunbird_content_service_log_level : sets the log level Example debug , info etc.
1917* sunbird_language_service_api_key: API key for the language service
20- * sunbird_default_channel: Default channel. e.g. sunbird (string)
21- * sunbird_content_plugin_base_url: Content plugin base url. e.g.: https://qa.ekstep.in or https://community.ekstep.in
22- * sunbird_environment: e.g : sunbird.env (string)
23- * sunbird_instance : e.g : sunbird.ins(string)
24- * sunbird_keycloak_auth_server_url: Sunbird keycloak auth server url e.g.: https://dev.open-sunbird.org/auth (string)
25- * sunbird_keycloak_realm: Sunbird keycloak realm e.g.: sunbird (string)
26- * sunbird_keycloak_client_id: Sunbird keycloak client id e.g: portal (string)
27- * sunbird_keycloak_public: Sunbird keycloak public e.g.: true (boolean)
28- * sunbird_cache_store: Sunbird cache store e.g.: memory (string)
29- * sunbird_cache_ttl: Sunbird cachec time to live e.g.: 1800(number)
30- * sunbird_image_storage_url
31- * sunbird_azure_account_name
32- * sunbird_azure_account_key
18+ * sunbird_default_channel: Default channel. Example. sunbird (string)
19+ * sunbird_content_plugin_base_url: Content plugin base url. Example.: https://qa.ekstep.in or https://community.ekstep.in
20+ * sunbird_environment: Example : sunbird.env (string)
21+ * sunbird_instance : Example : sunbird.ins(string)
22+ * sunbird_keycloak_auth_server_url: Sunbird keycloak auth server url Example.: https://dev.open-sunbird.org/auth (string)
23+ * sunbird_keycloak_realm: Sunbird keycloak realm Example.: sunbird (string)
24+ * sunbird_keycloak_client_id: Sunbird keycloak client id Example: portal (string)
25+ * sunbird_keycloak_public: Sunbird keycloak public Example.: true (boolean)
26+ * sunbird_cache_store: Sunbird cache store Example.: memory (string)
27+ * sunbird_cache_ttl: Sunbird cachec time to live Example.: 1800(number)
3328* sunbird_dial_code_registry_url eg: staging.open-sunbird.org/dial/
34- * sunbird_cassandra_ips e.g : 127.0.0.1,127.0.0.2
35- * sunbird_cassandra_port e.g: 9042
36- * sunbird_telemetry_sync_batch_size e.g: 20
37- * sunbird_learner_service_local_base_url e.g: 'http://learner-service:9000 '
38- * sunbird_content_service_local_base_url e.g: 'http://localhost:5000 '
39- * sunbird_content_upload_data_limit: Content upload data limit e.g.: 50mb (string)
29+ * sunbird_cassandra_urls Example : 127.0.0.1,127.0.0.2
30+ * sunbird_cassandra_consistency_level Example: 9042
31+ * sunbird_cassandra_replication_strategy Example: '{"class":"SimpleStrategy","replication_factor":1}'
32+ * sunbird_telemetry_sync_batch_size Example: 20
33+ * sunbird_learner_service_local_base_url Example: 'http://learner-service:9000 '
34+ * sunbird_content_service_local_base_url Example: 'http://localhost:5000 '
35+ * sunbird_content_upload_data_limit: Content upload data limit Example.: 50mb (string)
4036
4137## Setup Instructions
4238* Clone the project.eg .(git clone --recursive url)
0 commit comments