Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 880 Bytes

File metadata and controls

40 lines (33 loc) · 880 Bytes

DOR React App

Digital Object Repository Simple Search Web Application to evaluate OpenSearch.

Devcontainer for Local Development

ls .devcontainer

Local Development Against Remote Servers

Environment File

VITE_OPENSEARCH_URL="http://opensearch:9200"
VITE_OPENSEARCH_CREDENTIALS="admin:password"
VITE_REACTIVESEARCH_URL="http://reactivesearch:8000"
VITE_REACTIVESEARCH_CREDENTIALS="admin:password"

Docker Compose

docker compose up -d
docker compose exec -- app npm install
docker compose exec -- app npm run dev

OpenSearch

indices (apps)

curl -X GET "http://localhost:9200/_cat/indices?v" -u admin:password

fields (mappings)

curl -X GET "http://localhost:9200/dor-dc/_mapping?pretty" -u admin:password

GitHub Actions to Build Images

ls .github/workflows/build-*