Reference sample of certificate registry using Sunbird RC
Prerequesite:
- docker
- docker-compose
- git (or download the zip)
- run
git clone https://github.com/dileepbapat/ref-sunbirdrc-certificate.git
- cd ref-sunbirdrc-certificate
- run
docker-compose pull
- run
docker-compose up -d --force-recreate
API sample is available in jupyter notebook, needs additional dependency of python and jupyter. check certificate-api.ipynb
run docker-compose logs -f registry
and check logs
Prerequesite:
- Angular 10.2.1
- nodejs and npm
- Clone Sunbird RC UI code from here - https://github.com/code-blooded-guy/sunbird-rc-ui/tree/issuance
- Clone UI config files from git - https://github.com/Sunbird-RC/demo-certificate-issuance
- Go to into the demo-education-registry/ui-config and copy this folder path
- Then go to into the /sunbird-rc-ui/src/assets/config folder and open terminal
Run blow command in the following folder path : sunbird-rc-ui/src/assets/config
ln -s (path-of-your-UI-config files folder) |
---|
Eg : ln -s demo-education-registry/ui-config
-
Add your config.json and home.html file on below mentioned path sunbird-rc-ui/src/assets/config
-
Run
npm intsall
oryarn
command in root folder (sunbird-rc-ui) -
Go to root folder means sunbird-rc-ui folder Run - npm start
-
Once project run completely then you will get http://localhost:4200 url to open an angular application in the browser.
-
Copy that url( http://localhost:4200) and paste in your browser.
- Reference document : https://docs.sunbirdrc.dev/use/setup-the-frontend