SunbirdEd-portal local installation #389
Replies: 7 comments 27 replies
-
@rajeevsathish @rajeshkumaravel can you please check this? If you are trying to setup Sunbird Ed and experience the platform, please follow the installation instructions mentioned here https://ed.sunbird.org/use/installing-ed-platform/release-5.1.0 |
Beta Was this translation helpful? Give feedback.
-
@gandham-santhosh @rajeshkumaravel @rajeevsathish It seems that lock file was corrupted and at the same time using same package manager for both the projects was causing issue. I used yarn for However, now when I try to run the apps for both client and server, though client is running fine, but server is throwing exception. I'm getting following error. It seems that some configuration is required for Cassandra. At present following config keys exist in my src\app\helpers\environmentVariablesHelper.js Can you point me to missing config, so that I can run server as well? Thanks. |
Beta Was this translation helpful? Give feedback.
-
@rajeevsathish It seems I need vpn access to access the APIs configured. I'll update once I test with vpn access enabled. |
Beta Was this translation helpful? Give feedback.
-
@Krishnaj20, It seems that there are more environment variables needed. After I completed local installation of Cassandra and changed required config, now server is looking for KEYCLOAK_GOOGLE_CLIENT details. As per documentation at https://ed.sunbird.org/use-1/configuration/sunbirded-portal and https://github.com/Sunbird-Ed/SunbirdEd-portal/tree/release-5.1.0, we dont have any instructions for keycloak client. Can you please point me to suitable Keycloak client setup and configuration required? Thanks. Error is as following- |
Beta Was this translation helpful? Give feedback.
-
@vinukumar-vs I'm still waiting for the required KEYCLOAK_GOOGLE_CLIENT config from concerned team. Once its done, I'll run server again and update this thread. |
Beta Was this translation helpful? Give feedback.
-
@vinukumar-vs @Krishnaj20 There is no local file for jwtHelper module, in the repo. Should I instead try with https://www.npmjs.com/package/jwthelper? |
Beta Was this translation helpful? Give feedback.
-
@vinukumar-vs @rajeevsathish I tried with suggested steps in https://github.com/orgs/Sunbird-Ed/discussions/433, but it did not help with my existing issues. Can we arrange a call where we can look at the issues in my local (windows specific or otherwise)? CC @anandvarada |
Beta Was this translation helpful? Give feedback.
-
I was trying to setup SunbirdEd-portal locally based on documentation at https://github.com/Sunbird-Ed/SunbirdEd-portal/tree/release-5.1.0.
Prerequisites satisfied
Setup steps followed
Error observed
Installation is failing for following dependency, while installing packages for backend API interface:
"keycloak-connect": "git+https://github.com/project-sunbird/keycloak-nodejs-connect.git#release-2.5.0",
Error message says -
➤ YN0058: │ keycloak-connect@https://github.com/project-sunbird/keycloak-nodejs-connect.git#commit=7a69f6d5a90ace385fce1eedb452d9edfc1538af: Packing the package failed (exit code 128, logs can be found here:
Logs details
Logs point to a broken dependency related to bucharest-gold/keycloak-admin.
Exact error says-
Could not fetch metadata for keycloak-admin-client@git+ssh://git@github.com/bucharest-gold/keycloak-admin-client.git#1251b8d29a141e7b568e7a2fcef41527870d1d30
Can you please provide resolution to this problem?
Beta Was this translation helpful? Give feedback.
All reactions