Windows Installation

Installation steps for coKreat reference web app on Windows environment

Pre - required programs

  • Python 2.7.18
Note : If your machine has python 3+ installed, please downgrade it to 2.7

Follow-up steps

  • Download and install node version 14.18.1 and run the installer. Choose a directory, then select Next.
  • When it asks to install tools for Node JS, check the box for Automatically install the necessary tools
  • Install Angular CLI: 13.3.3
  • Create git account
  • Clone the repo from : https://github.com/Sunbird-Ed/creation-portal.git

Run the application server

  • Open command prompt
  • 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 set sunbird_environment="local"
  • Run command set sunbird_instance="sunbird"
  • Run command set sunbird_default_channel="sunbird"
  • Run command set sunbird_default_tenant="sunbird"
  • Run command node server

Run the client

  • Open another command prompt window
  • Change directory to ..\creation-portal\src\app\client
  • Rename mv command in package.json to move command
  • Run npm i
  • Run npm install nodemon
  • Run command nodemon
Open http://localhost:3000/sourcing on a browser tab