https://github.com/digitalslidearchive/girder_assetstore
A Girder plugin for connecting remote Girder instances as Assetstores
https://github.com/digitalslidearchive/girder_assetstore
Last synced: 12 months ago
JSON representation
A Girder plugin for connecting remote Girder instances as Assetstores
- Host: GitHub
- URL: https://github.com/digitalslidearchive/girder_assetstore
- Owner: DigitalSlideArchive
- License: other
- Created: 2024-02-15T18:04:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T17:35:24.000Z (over 1 year ago)
- Last Synced: 2025-05-20T01:42:34.363Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# girder_assetstore
A Girder plugin that allows for other Girder instances to be accessed as Assetstores.
## Build Instructions
### Local
1. Create/activate a virtualenv: ``python -m venv .venv && source .venv/bin/activate``
2. Install the package in editable mode: ``pip install -e .``
3. Build the package: ``girder build``
- For development, rebuild client JS with ``girder build --watch-plugin girder_assetstore``
5. Launch a Mongo server: ``mongod``
6. Launch a Girder server: ``girder serve``
7. Visit the the Girder instance http://localhost:8080
### DSA
Alternatively, using [digital slide archive](https://github.com/DigitalSlideArchive/digital_slide_archive/tree/master/devops/dsa):
1. Add mount for ``girder_assetstore`` in the ``docker-compose.yaml`` file:
```yaml
girder:
volumes:
# ensure this local path is correct (relative to docker-compose.yaml)
- ../../../girder_assetstore:/opt/girder_assetstore
```
2. Add editable pip install and client rebuild in ``provision.yaml``:
```yaml
pip:
- -e /opt/girder_assetstore
shell:
- timeout 10 girder build --watch-plugin girder_assetstore
```
## Usage
- TODO