{"id":22621424,"url":"https://github.com/cca/cca_invenio","last_synced_at":"2025-03-29T02:24:27.771Z","repository":{"id":175099970,"uuid":"653324938","full_name":"cca/cca_invenio","owner":"cca","description":"CCA's InvenioRDM repository","archived":false,"fork":false,"pushed_at":"2025-02-26T00:00:57.000Z","size":4459,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-26T00:28:05.393Z","etag":null,"topics":["invenio-rdm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cca.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-06-13T20:55:55.000Z","updated_at":"2025-02-26T00:01:00.000Z","dependencies_parsed_at":"2023-10-14T18:41:42.808Z","dependency_job_id":"e73a2c06-7e01-4b18-9ab2-a2ad2ff67165","html_url":"https://github.com/cca/cca_invenio","commit_stats":null,"previous_names":["cca/vault_invenio","cca/cca_invenio"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fcca_invenio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fcca_invenio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fcca_invenio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fcca_invenio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cca","download_url":"https://codeload.github.com/cca/cca_invenio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246127739,"owners_count":20727778,"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":["invenio-rdm"],"created_at":"2024-12-08T23:08:49.938Z","updated_at":"2025-03-29T02:24:27.752Z","avatar_url":"https://github.com/cca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCA InvenioRDM\n\nCCA InvenioRDM instance. This is mostly a cookiecutter Invenio project with some custom settings and vocabularies. See our \"notes\" folder for further documentation.\n\n## Setup\n\nRequires Docker, python, pipenv, node, and ImageMagick. `invenio-cli check-requirements --development` checks these requirements, see also [our .tool-versions](.tool-versions) file. To install on an M2 Mac, additional packages are needed: `brew install cairo libffi pkg-config`. Finally, the invenio-saml module also requires `brew install libxmlsec1`.\n\nSome fixtures are not checked into this repository. Build them with the tools in the cca/vault_migration repository and copy them here.\n\n```sh\n# in vault_migration\ngsutil cp gs://BUCKET/employee_data.json employee_data.json\ngsutil cp gs://BUCKET/student_data.json student_data.json\npipenv run python taxos/users.py employee_data.json student_data.json\nINVENIO_REPO=/path/to/this/repo ./vocab/sync # copies updated vocabs to this repo\n```\n\nThen run the commands below from the root of this project to install the app:\n\n```sh\npipx install invenio-cli # install invenio-cli globally (recommend using pipx instead of pip)\ninvenio-cli install --dev # creates the virtualenv, install dependencies, \u0026 some other setup\ninvenio-cli services setup --no-demo-data # sets up db, cache, search, task queue\ninvenio-cli run # runs the application\n```\n\nThe services setup enqueues many tasks rather than completing them synchronously, so the first time you `run` the app it will take a while before setup is complete.\n\nI've run into `invenio-cli install` build errors related to the cairo package, the errors say something like \"no library called \"cairo\" was found\" and \"cannot load library 'libcairo.2.dylib'\". I had cairo installed via homebrew, but the library wasn't in any of the directories that the build process was looking in. I fixed this with `cp /opt/homebrew/Cellar/cairo/1.18.0/lib/libcairo.2.dylib /usr/local/lib/` (the path to the cairo library may be different on your system).\n\n## Overview\n\nFollowing is an overview of the generated files and folders:\n\n| Name | Description |\n|---|---|\n| `Dockerfile` | Dockerfile used to build your application image. |\n| `Pipfile` | Python requirements installed via [pipenv](https://pipenv.pypa.io) |\n| `Pipfile.lock` | Locked requirements (generated on first install). |\n| `app_data` | Application data such as vocabularies. |\n| `assets` | Web assets (CSS, JavaScript, LESS, JSX templates) used in the Webpack build. |\n| `docker` | Example configuration for NGINX, Postgres Admin, and uWSGI. |\n| `docker-compose.full.yml` | Example of a full infrastructure stack. |\n| `docker-compose.yml` | Backend services needed for local development. |\n| `docker-services.yml` | Common services for the Docker Compose files. |\n| `invenio.cfg` | Main configuration file. |\n| `logs` | Log files. |\n| `notes` | CCA's documentation on running \u0026 developing the app. |\n| `site` | [Custom site code](https://inveniordm.docs.cern.ch/develop/howtos/custom_code/) and modules. |\n| `static` | Static files that need to be served as-is (e.g. images). |\n| `templates` | Folder for your Jinja templates. |\n| `.invenio` | Common file used by Invenio-CLI to be version controlled. |\n| `.invenio.private` | Private file used by Invenio-CLI *not* version controlled. |\n\n## Documentation\n\nTo learn how to configure, customize, deploy and much more, visit the [InvenioRDM Documentation](https://inveniordm.docs.cern.ch/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcca%2Fcca_invenio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcca%2Fcca_invenio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcca%2Fcca_invenio/lists"}