Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
program-service
Commits
b86919ef
Commit
b86919ef
authored
3 years ago
by
Venkateshwaran Selvaraj
Browse files
Options
Download
Patches
Plain Diff
Issue #SB-000 chore: add new steps to readme
parent
40adecfa
SB-23374
SB-25924
copy_issue
copy_issue1
dependabot/npm_and_yarn/src/ajv-6.12.6
dependabot/npm_and_yarn/src/async-2.6.4
dependabot/npm_and_yarn/src/axios-0.21.2
dependabot/npm_and_yarn/src/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/lodash-4.17.21
dependabot/npm_and_yarn/src/moment-2.29.4
dependabot/npm_and_yarn/src/moment-timezone-0.5.37
dependabot/npm_and_yarn/src/node-fetch-2.6.7
dependabot/npm_and_yarn/src/pathval-1.1.1
dependabot/npm_and_yarn/src/qs-and-body-parser-and-express-6.5.3
dependabot/npm_and_yarn/src/redis-3.1.1
dependabot/npm_and_yarn/src/simple-get-2.8.2
dependabot/npm_and_yarn/src/underscore-1.12.1
master
questionset-integration
release-4.2.0
release-4.3.0
release-4.4.0
release-4.5.0
release-4.6.0
release-4.7.0
release-4.8.0
release-4.9.0
release-5.1.0
sb-22518
test-issue
vk-local-ps-4.4.0
release-5.1.0_RC1
release-4.9.0_RC1
release-4.8.0_RC3
release-4.8.0_RC2
release-4.8.0_RC1
release-4.7.0_RC6
release-4.7.0_RC5
release-4.7.0_RC4
release-4.7.0_RC3
release-4.7.0_RC2
release-4.7.0_RC1
release-4.6.0_RC6
release-4.6.0_RC5
release-4.6.0_RC4
release-4.6.0_RC3
release-4.6.0_RC2
release-4.6.0_RC1
release-4.5.0_RC1
release-4.4.0_RC5
release-4.4.0_RC4
release-4.4.0_RC3
release-4.4.0_RC2
release-4.4.0_RC1
release-4.3.0_RC5
release-4.3.0_RC4
release-4.3.0_RC3
release-4.3.0_RC2
release-4.3.0_RC1
release-4.2.0_RC9
release-4.2.0_RC8
release-4.2.0_RC7
release-4.2.0_RC6
release-4.2.0_RC5
release-4.2.0_RC4
release-4.2.0_RC3
release-4.2.0_RC2
release-4.2.0_RC1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+42
-0
README.md
with
42 additions
and
0 deletions
+42
-0
README.md
0 → 100644
+
42
−
0
View file @
b86919ef
# Sunbird Program Service
### Prerequisites: Postgres, Node v12+
## Run Locally
Clone the project
```
bash
https://github.com/Sunbird-Ed/program-service.git
```
Go to the project directory
```
bash
cd
program-service
```
Install Git Submodules to make use of
https://github.com/project-sunbird/sunbird-js-utils.git
```
bash
git submodule init
git submodule update
```
Install dependencies
```
bash
cd
src/
npm
install
```
Set the env variable in
`<project-folder>/src/envVariables.js`
```
bash
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_token
```
Start the server
```
bash
node app.js
```
the node app will run on
`http://localhost:6000`
> Note: To create Postgres table in the local db use the `<project-folder>/programs.sql`
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets