{"id":24432206,"url":"https://github.com/bayer-group/cmc-knowledge-graph-setup","last_synced_at":"2025-04-28T14:41:49.499Z","repository":{"id":261400079,"uuid":"869407708","full_name":"Bayer-Group/cmc-knowledge-graph-setup","owner":"Bayer-Group","description":"CMC (Chemistry, Manufacturing and Control) Knowledge Graph is an exemplary setup of data and ontologies for knowledge graph infrastructure including dockerized frontend and backend solution based on open source software.","archived":false,"fork":false,"pushed_at":"2025-03-25T14:10:55.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T14:39:37.609Z","etag":null,"topics":["docker","java","javascript","owl","python","rdfs","sparql","turtle"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bayer-Group.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-08T08:44:11.000Z","updated_at":"2025-03-25T14:10:58.000Z","dependencies_parsed_at":"2024-11-06T11:34:11.779Z","dependency_job_id":"d0c1683f-9fd2-4af6-971c-d97aafe8502e","html_url":"https://github.com/Bayer-Group/cmc-knowledge-graph-setup","commit_stats":null,"previous_names":["bayer-group/cmc-knowledge-graph-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bayer-Group%2Fcmc-knowledge-graph-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bayer-Group%2Fcmc-knowledge-graph-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bayer-Group%2Fcmc-knowledge-graph-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bayer-Group%2Fcmc-knowledge-graph-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bayer-Group","download_url":"https://codeload.github.com/Bayer-Group/cmc-knowledge-graph-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251331973,"owners_count":21572535,"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":["docker","java","javascript","owl","python","rdfs","sparql","turtle"],"created_at":"2025-01-20T15:35:37.373Z","updated_at":"2025-04-28T14:41:49.480Z","avatar_url":"https://github.com/Bayer-Group.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy setup of the whole environment\n\nThe Setup is part of the CMC Knowledge Graph Application.\nThis repository helps settings up a local environment based on Docker Compose.\n\n## Installation instructions\n\n1. Install Docker Desktop for Windows from [Docker Hub](https://hub.docker.com/editions/community/docker-ce-desktop-windows/) (latest test with Docker Desktop v2.2.0.3)\n2. Clone this repository locally\n    ```console\n    git clone --recursive [URL to this Git repo]\n    ```\n3. Pull all changes in all submodules\n    ```console\n    git pull --recurse-submodules\n    ```\n4. Create a file `.env` in parallel to the file `docker-compose.yml` and insert the following variables (example values are shown):\n    ```\n    GRAPHDATABASE_USERNAME=admin\n    GRAPHDATABASE_PASSWORD=admin\n    ```\n5. Run `docker-compose up` to download and build all Docker images and startup the environment\n6. Wait for docker-compose to start up\n7. Open the KGE Frontend (see URL below). \n****\n\n### Known problems\n\n- While building the frontend the following error could occur. In the Dockerfiles of the frontend applications node is used with an increased heap size while building the applications `node --max_old_space_size=8000`. Try to increase this, if the error occurs.\n    ```\n    FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory\n    ```\n- After starting the application a second time, the fuseki database could throw exceptions. Delete the Docker container of the fuseki database with `docker container rm fuseki`. ATTENTION: This will remove all your created data and reload the database with the initial data.\n\n- fuseki-loader/loader.sh could contain `Carriage Return` characters, remove them.\n\n## Application URLs\n\n| Component                                                | URL for Docker environment      | URL for local environment       | Username | Password |\n| -------------------------------------------------------- | ------------------------------- | ------------------------------- |--------- | -------- |\n| Apache Jena Fuseki Database Webinterface                 | http://localhost:3030/          | -                               | admin    | admin    |\n| KGE-Editor-Frontend                         | http://localhost:4400/ | http://localhost:4400/| -        | -        |\n| KGE-Web-Service                         | http://localhost:8080/swagger | http://localhost:8080/swagger| -        | -        |\n## Quick Tips\n\nSome quick tips and advices to work faster.\n\n### Docker\n\nTo purge all unused or dangling images, containers, volumes, and networks run the following command:\n```console\ndocker system prune -a\n```\n\nTo remove all containers:\n```console\ndocker container rm $(docker container ls -aq)\n```\n\n\n### Links\n\n- [Git Submodules](https://www.vogella.com/tutorials/GitSubmodules/article.html)\n- [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)\n- [Apache Jena Fuseki tdbloader example](https://www.csee.umbc.edu/courses/graduate/691/spring14/01/examples/jena/README.txt)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayer-group%2Fcmc-knowledge-graph-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbayer-group%2Fcmc-knowledge-graph-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayer-group%2Fcmc-knowledge-graph-setup/lists"}