From 5f8d3b0d8c9b63ae2eed13550c1b72161cb2c056 Mon Sep 17 00:00:00 2001 From: Shubham Bansal <127090959+shubhambansaltarento@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:18:34 +0530 Subject: [PATCH 1/5] Update jwtHelper.js --- src/app/helpers/jwtHelper.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/helpers/jwtHelper.js b/src/app/helpers/jwtHelper.js index b4732429b8..c7c4322d57 100644 --- a/src/app/helpers/jwtHelper.js +++ b/src/app/helpers/jwtHelper.js @@ -11,7 +11,6 @@ const getUserIdFromToken = (accessToken) => { var splittedSub = jwtPayload.sub.split(':'); return splittedSub[splittedSub.length - 1] } else { - // invalid JWT token return null; } }; From 1ce8742a7b2dc4f17ea1a4f9f689e05296bfab0f Mon Sep 17 00:00:00 2001 From: Shubham Bansal <127090959+shubhambansaltarento@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:45:45 +0530 Subject: [PATCH 2/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e29a877b4f..255a62348e 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Before you install creation portal on your laptop, examine your environment and 1. Creation portal or web application 1. Run the following command in the **{PROJECT-FOLDER}/src/app/client** folder - 2. $ nodemon + 2. ng build --watch=true 3. Wait for the build process to complete before proceeding to the next step. The following messge should appear on the screeen ```console [nodemon] clean exit - waiting for changes before restart @@ -93,7 +93,7 @@ Before you install creation portal on your laptop, examine your environment and 2. Services stack or the backend API interface 1. Run the following command in the **{PROJECT-FOLDER}/src/app** folder - 2. $ node server.js + 2. npm run server 3. The local HTTP server is launched at `http://localhost:3000` From 786cd17b02693ea49ef29cf2af9947973ac4a7b2 Mon Sep 17 00:00:00 2001 From: Shubham Bansal <127090959+shubhambansaltarento@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:47:16 +0530 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 255a62348e..29e6218197 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Pre-requisites -Before you install creation portal on your laptop, examine your environment and gather data to ensure an optimal installation experience. Review the [details](https://app.gitbook.com/o/-Mi9QwJlsfb7xuxTBc0J/s/SjljYc0PyD64vGgDlMl4/use/system-requirements) to ensure that the environment has the necessary resources and compliant target systems to successfully install and run creation portal. +Before you install creation portal on your laptop, examine your environment and gather data to ensure an optimal installation experience. Review the [details](https://sunbird.gitbook.io/sunbird-cokreat-1/v/release-7.0.0-draft-1/use/developer-guide/reference-cokreat-web-app/reference-cokreat-web-app/installation-guide/ubuntu-or-mac-installation) to ensure that the environment has the necessary resources and compliant target systems to successfully install and run creation portal. ## Project Setup From f3934f9df22b0495a7df32588edec6e9708caba6 Mon Sep 17 00:00:00 2001 From: Shubham Bansal <127090959+shubhambansaltarento@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:49:50 +0530 Subject: [PATCH 4/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 29e6218197..6c54cccd13 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ Before you install creation portal on your laptop, examine your environment and 5. Edit the Application Configuration > Open `/src/app/helpers/environmentVariablesHelper.js` in any available text editor and update the contents of the file so that it contains exactly the following values + > Note: Environment variables are dependent on your infra and may change please contact the infra person for updated environment variables ```console module.exports = { From 0f66c3a5342b539f246979449fe45b4058090253 Mon Sep 17 00:00:00 2001 From: Shubham Bansal <127090959+shubhambansaltarento@users.noreply.github.com> Date: Thu, 4 Jul 2024 18:16:38 +0530 Subject: [PATCH 5/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6c54cccd13..c9e5157cd1 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Before you install creation portal on your laptop, examine your environment and gather data to ensure an optimal installation experience. Review the [details](https://sunbird.gitbook.io/sunbird-cokreat-1/v/release-7.0.0-draft-1/use/developer-guide/reference-cokreat-web-app/reference-cokreat-web-app/installation-guide/ubuntu-or-mac-installation) to ensure that the environment has the necessary resources and compliant target systems to successfully install and run creation portal. +Note: For Apple Mac M1 chip set please reffer the microsite installation guidelines + ## Project Setup 1. Clone the project