Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.39 KB

ubuntu-or-mac-installation.md

File metadata and controls

49 lines (35 loc) · 1.39 KB
description
Installation steps for coKreat reference web app on Unix (Ubuntu or Mac) environment

Ubuntu or Mac Installation

Pre - required programs

  • Python 2.7.18

Note : If your machine has python 3+ installed, please downgrade it to 2.71

Follow-up steps

Note : 2Clone the repo to desktop folder to avoid any privileged user access problems

Run the application server

  • 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

Run the client

  • 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

Footnotes