Assistance with setting up Sunbird RC Front-end and Back-end services #186
Unanswered
mahesh-maney
asked this question in
Issues
Replies: 1 comment 2 replies
-
@code-blooded-guy please help out with the frontend installation |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We have been trying to setup Sunbird RC front-end services as well as back-end services. We are following the documentation available on sunbird RC portal , however we have challenges setting up the services and infra.
We are trying out the Teacher / Student example as per the documentation and want to tryout the Front-end part https://docs.sunbirdrc.dev/use/setup-the-frontend#environment-config
We have the front-end running on docker but when we visit http://localhost/ it redirects me to http://localhost/install and just a blank page with errors on console - ERROR TypeError: Cannot read property 'keycloak' of null
Cloned the repository: git clone [email protected]:sunbird-rc/sunbird-rc-ui sunbird-rc/ui && cd $_
{
"environment": "development",
"baseUrl": "http://localhost:8081/api",
"schemaUrl": "http://localhost:8081/api/docs/swagger.json",
"keycloak": {
"url": "https://localhost:8080/auth",
"realm": "sunbird-rc",
"clientId": "registry-frontend"
}
}
Backend :
We are using the docker-compose file ( https://github.com/Sunbird-RC/sunbird-rc-core/blob/main/docker-compose.yml ) and following ( https://docs.sunbirdrc.dev/using-the-apis ) to tryout the API's
Create/Authenticate/Retrieve/Update works fine but when we try make a claim we get
{
"id": "sunbird-rc.registry.update",
"ver": "1.0",
"ets": 1643630462173,
"params": {
"resmsgid": "",
"msgid": "f12da771-7094-4773-9158-ab1df9de2e11",
"err": "",
"status": "UNSUCCESSFUL"
},
"responseCode": "OK"
}
We need assistance in getting the claims API to work.
Beta Was this translation helpful? Give feedback.
All reactions