-
Notifications
You must be signed in to change notification settings - Fork 1
OpenSABER Setup (Digital registry)
pace edited this page Nov 5, 2020
·
2 revisions
- Java - 8+
- git
git clone https://github.com/project-sunbird/open-saber.git
cd open-saber
#for linux
sh configure-dependencies.sh
#for windows
bash configure-dependencies.sh
cd java
mvn clean install
The default implementation uses Sunbird’s authentication mechanism which is using keycloak for authentication. Authentication requires the below mentioned environment variables to be configured And can be configured in KeyCloakServiceImpl.java in middleware/registry-middleware/authorization/src/main/java/io/opensaber/registry/authorization folder.
#Example
ssoUrl = "http://localhost/auth/"
ssoRealm = "master"
publicKey = “publicKey”
OpenSABER provides neo4j as the default database, database configuration can be done in application.yml file in registry/src/main/resources folder.
uri: ${connectionInfo_uri:bolt://localhost:7687}
username: ${connectionInfo_username:<neo4j username>}
password: ${connectionInfo_password:<neo4j password>}
We Can start up an OpenSABER instance in two ways.
In order to run using docker, you need to install docker in your system.
cd registry
docker-compose up
cd registry/target
java -jar registry.jar
For more information on configurations and API's you can check openSABER Documentation.
wiki
Architecture
Configuration