Skip to content

Instantly share code, notes, and snippets.

@rajeshkumaravel
Created September 7, 2021 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajeshkumaravel/19fcbab2b956795709b074a3939c7eaa to your computer and use it in GitHub Desktop.
Save rajeshkumaravel/19fcbab2b956795709b074a3939c7eaa to your computer and use it in GitHub Desktop.
sunbird desktop setup

STEPS TO SETUP DESKTOP APP

  1. Fork and clone https://github.com/Sunbird-Ed/SunbirdEd-portal
  2. Install dependencies src/desktop && yarn install
  3. Install dependencies cd OpenRAP && yarn install
  4. Generate build under cd src/desktop/OpenRAP && npm run pack
  5. Copy generated .tgz file path; ex: /home/User1/SunbirdEd-portal/src/desktop/OpenRAP/dist/project-sunbird-OpenRAP-1.0.2.tgz
  6. cd ..
  7. yarn add path-to-tar file yarn add /home/User1/SunbirdEd-portal/src/desktop/OpenRAP/dist/project-sunbird-OpenRAP-1.0.2.tgz
  8. Replace env.json file with given env.json file
  9. Copy openrap-sunbirded-plugin folder and paste
  10. Open 2 terminal a. Start portal frontend - src/app/client ==> npm run start-desktop (let it run first then start second) b. Start desktop appl - src/desktop ==> npm run start (may require sudo for linux)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment