description |
---|
Installation steps for coKreat reference web app on Unix (Ubuntu or Mac) environment |
- Python 2.7.18
Note : If your machine has python 3+ installed, please downgrade it to 2.71
- Install node version 14.18.1
- Install Angular CLI: 13.3.3
- Create git account
- Clone the repo from : https://github.com/Sunbird-Ed/creation-portal.git
Note : 2Clone the repo to desktop folder to avoid any privileged user access problems
- Open terminal
- Change directory to ..\creation-portal\src\app
- Run command
set NODE_OPTIONS=--max_old_space_size=4096
- Run command
npm i
- Run command
npm run resource-bundles
- Run command
export sunbird_environment="local"
- Run command
export sunbird_instance="sunbird"
- Run command
export sunbird_default_channel="sunbird"
- Run command
export sunbird_default_tenant="sunbird"
- Run command
node server
- Open another command prompt window
- Change directory to ..\creation-portal\src\app\client
- Run command
npm i
- Run command
npm install nodemon
- Run command
nodemon
Open http://localhost:3000/sourcing
on a browser tab