Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nakamura196/archivematica_gradio
A demonstration of Archivematica and Gradio.
https://github.com/nakamura196/archivematica_gradio
archivematica gradio python
Last synced: 11 days ago
JSON representation
A demonstration of Archivematica and Gradio.
- Host: GitHub
- URL: https://github.com/nakamura196/archivematica_gradio
- Owner: nakamura196
- License: other
- Created: 2024-02-04T06:03:31.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-12T01:15:12.000Z (9 months ago)
- Last Synced: 2024-02-12T02:30:02.847Z (9 months ago)
- Topics: archivematica, gradio, python
- Language: Python
- Homepage: https://amg.aws.ldas.jp
- Size: 25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# Archivematica Gradio
A demonstration of Archivematica and Gradio.
## 🌐 Website
[Visit the demo page](https://amg.aws.ldas.jp/) to try it out.
## 📖 Preparation
Update `src/.env` with the following information.
```
DASHBOARD_URL=http://localhost:62080
DASHBOARD_USERNAME=test
DASHBOARD_API_KEY=testSTORAGE_SERVICE_URL=http://localhost:62081
STORAGE_SERVICE_USERNAME=test
STORAGE_SERVICE_PASSWORD=testAWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxx
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxx
AWS_BUCKET_NAME=xxxxxxxxxxxxxxxxxxxxLOCATION_UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
PROCESSING_CONFIG=automated
TRANSFER_TYPE=standard
TRANSFER_SOURCE_PREFIX=transfer_source
```## 📖 Development
```bash
python -m venv .venv
source .venv/bin/activate
pip install -r src/requirements.txtdocker compose up --build
```## 📖 Production
Update `docker-compose-prod.yml` with the following information.
```yml
version: "3.0"services:
gradio:
container_name: "archivematica_gradio"
build: .
volumes:
- ./src:/workspace
ports:
- "7865:7860"
environment:
VIRTUAL_HOST: xxx
LETSENCRYPT_HOST: xxx
LETSENCRYPT_EMAIL: xxxnetworks:
default:
external:
name: xxx
``````bash
python -m venv .venv
source .venv/bin/activate
pip install -r src/requirements.txtdocker compose -f docker-compose-prod.yml up -d --build
```