Install Locally
System Requirements
OS | Ubuntu, linux and Mac |
RAM | 4GB (8GB recommended) |
SSD/HDD | 256 GB |
System Installations
Softwares / Frameworks | Version |
---|---|
Node | 10 / 12 |
Postgres | 9.6 |
Redis | 4.x or above |
Kafka | 2.4.1 |
Installation
The steps to install contribution/program service, are given in here.
Pre-requisites
Make sure you have all the system requirements and system installations to successfully install and run Program Service.
Program service uses Postgres database to store and manage data. Refer programs.sql for the database and table structure.
Refer here to use psql using command line and pgAdmin client.
Project Setup
Clone project
Note: Stable versions of the sunbird portal are available via tags for each release, and the master branch contains latest stable release.
Install Git Submodules to make use of https://github.com/project-sunbird/sunbird-js-utils.git
Install required dependencies
Edit the Application Configuration
Open the file {PROJECT-FOLDER}/src/envVariables.js
in any available text editor and update the contents of the file so that it contains exactly the following values
Once the file is updated with the correct values, you can proceed with running the application
Running Application
The local HTTP server is launched at http://localhost:6000
Debugging Application
The application can now be debugged using chrome devTools.
Last updated