Clone the project
https://github.com/Sunbird-Ed/program-service.gitGo to the project directory
cd program-serviceInstall Git Submodules to make use of https://github.com/project-sunbird/sunbird-js-utils.git
git submodule init
git submodule updateInstall dependencies
cd src/
npm installSet the env variable in <project-folder>/src/envVariables.js
baseURL: process.env.dock_base_url || 'http://dock.sunbirded.org',
SUNBIRD_URL: process.env.sunbird_base_url || 'https://dev.sunbirded.org',
SUNBIRD_PORTAL_API_AUTH_TOKEN: process.env.sunbird_api_auth_tokenStart the server
node app.jsthe node app will run on http://localhost:6000
Note: To create Postgres table in the local db use the
<project-folder>/programs.sql