{"id":26447499,"url":"https://github.com/mycore-org/ubo","last_synced_at":"2026-02-12T08:08:03.960Z","repository":{"id":37859389,"uuid":"143406183","full_name":"MyCoRe-Org/ubo","owner":"MyCoRe-Org","description":"University Bibliography Online","archived":false,"fork":false,"pushed_at":"2025-03-12T13:22:47.000Z","size":8316,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-03-12T14:26:34.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MyCoRe-Org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-03T09:14:46.000Z","updated_at":"2025-02-20T14:26:35.000Z","dependencies_parsed_at":"2023-09-27T15:19:52.101Z","dependency_job_id":"ccb4bec7-327f-404b-bcaa-ee4f892925df","html_url":"https://github.com/MyCoRe-Org/ubo","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyCoRe-Org%2Fubo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyCoRe-Org%2Fubo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyCoRe-Org%2Fubo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyCoRe-Org%2Fubo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MyCoRe-Org","download_url":"https://codeload.github.com/MyCoRe-Org/ubo/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244236087,"owners_count":20420752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-18T13:57:21.539Z","updated_at":"2026-02-12T08:08:03.954Z","avatar_url":"https://github.com/MyCoRe-Org.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"# University Bibliography Online: Installation\n\n## Setup\n\n### Checkout source code from GitHub\n`git clone git@github.com:MyCoRe-Org/ubo.git`\n\n### Build the web application\n`mvn install`\n\n### Create configuration directory\n```\nubo-cli/target/bin/ubo.sh create configuration directory\n```\n\n- TODO: Create a database and edit mycore.properties\n- For example, in MySQL, do\n```\nCREATE DATABASE ubo;\nGRANT ALL PRIVELEGES ON ubo.* to ubo@localhost IDENTIFIED BY 'ubo';\n```\n- setup your database and JDBC configuration in `mycore.properties`\n```\nMCR.JPA.Driver  = org.h2.Driver\nMCR.JPA.URL     = jdbc:h2:file:/path/to/configuration/.mycore/ubo/data/h2/mir;AUTO_SERVER=TRUE\nMCR.JPA.dialect = org.hibernate.dialect.H2Dialect\n```\n\n- copy jdbc driver to ~/.mycore/ubo/lib, eg. for h2\n```\ncd ~/.mycore/ubo/lib\nwget https://repo1.maven.org/maven2/com/h2database/h2/2.2.224/h2-2.2.224.jar\ncd -\n```\n\n## Solr \n### Setup SOLR 9\n- described here:\n  - https://www.mycore.de/documentation/getting_started/gs_solr8/\n  - https://www.mycore.de/documentation/search/search_solr_use/\n\n### or use solr runner plugin for development\n - install solr with the command: `mvn solr-runner:copyHome -pl ubo-webapp`\n - run solr with the command: `mvn solr-runner:start -pl ubo-webapp`\n - stop solr with the command: `mvn solr-runner:stop -pl ubo-webapp`\n - update solr with the command: `mvn solr-runner:stop solr-runner:copyHome solr-runner:start -pl ubo-webapp`\n\n### Configure SOLR URL in mycore.properties\nvi ~/.mycore/ubo/mycore.properties\n```\nMCR.Solr.ServerURL=http://localhost:8983/\nMCR.Solr.Core.main.Name=ubo\nMCR.Solr.Core.classification.Name=ubo-classifications\nMCR.Solr.Core.projects.Name=ubo-projects\n\n# with cloud\nMCR.Solr.Server.Auth.Admin.Class=org.mycore.solr.auth.MCRSolrBasicPropertyAuthentication\nMCR.Solr.Server.Auth.Admin.Password=alleswirdgut\nMCR.Solr.Server.Auth.Admin.Username=admin\nMCR.Solr.Server.Auth.Index.Class=org.mycore.solr.auth.MCRSolrBasicPropertyAuthentication\nMCR.Solr.Server.Auth.Index.Password=alleswirdgut\nMCR.Solr.Server.Auth.Index.Username=indexer\nMCR.Solr.Server.Auth.Search.Class=org.mycore.solr.auth.MCRSolrBasicPropertyAuthentication\nMCR.Solr.Server.Auth.Search.Password=alleswirdgut\nMCR.Solr.Server.Auth.Search.Username=searcher\n```\n## Setup Superuser\n\n- Create the superuser \"administrator\"\n```\nubo-cli/target/bin/ubo.sh init superuser\n```\n## Classifications\n```\nubo-cli/target/bin/ubo.sh update all classifications from directory ubo-cli/src/main/setup/classifications\n```\n\n## ACL\n```\nubo-cli/target/bin/ubo.sh update permission create-mods for id POOLPRIVILEGE with rulefile ubo-cli/src/main/setup/acl/acl-rule-always-allowed.xml described by always allowed\nubo-cli/target/bin/ubo.sh update permission create-users for id POOLPRIVILEGE with rulefile ubo-cli/src/main/setup/acl/acl-rule-administrators-only.xml described by administrators only\nubo-cli/target/bin/ubo.sh update permission administrate-users for id POOLPRIVILEGE with rulefile ubo-cli/src/main/setup/acl/acl-rule-administrators-only.xml described by administrators only\nubo-cli/target/bin/ubo.sh update permission read for id default with rulefile ubo-cli/src/main/setup/acl/acl-rule-always-allowed.xml described by always allowed\nubo-cli/target/bin/ubo.sh update permission writedb for id default with rulefile ubo-cli/src/main/setup/acl/acl-rule-administrators-only.xml described by administrators only\nubo-cli/target/bin/ubo.sh update permission deletedb for id default with rulefile ubo-cli/src/main/setup/acl/acl-rule-administrators-only.xml described by administrators only\nubo-cli/target/bin/ubo.sh update permission read for id restapi:/ with rulefile ubo-cli/src/main/setup/acl/acl-rule-always-allowed.xml described by always allowed\nubo-cli/target/bin/ubo.sh update permission read for id restapi:/classifications with rulefile ubo-cli/src/main/setup/acl/acl-rule-always-allowed.xml described by always allowed\n```\n\n## MyCoRe-Solr-Configuration\n```\n# only with solr cloud (ingore errors until MCR-3543 is fixed)\nubo-cli/target/bin/ubo.sh upload local config set for main\nubo-cli/target/bin/ubo.sh upload local config set for classification\nubo-cli/target/bin/ubo.sh upload local config set for projects\nubo-cli/target/bin/ubo.sh create collection for core main\nubo-cli/target/bin/ubo.sh create collection for core classification\nubo-cli/target/bin/ubo.sh create collection for core projects\n\n# for all solr installations\nubo-cli/target/bin/ubo.sh reload solr configuration main in core main\n```\n\n## Run \n- local web application on port 8080 with tomcat 10:\n\n```\nmvn cargo:run -pl ubo-webapp\n```\n\n## Rebuild \u0026 Run (root directory)\n```\nmvn clean \u0026\u0026 mvn install -am -pl ubo-webapp \u0026\u0026 mvn cargo:run -pl ubo-webapp -DskipTests\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycore-org%2Fubo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmycore-org%2Fubo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycore-org%2Fubo/lists"}