Backend of Next Digital Library is spring-boot-based Single Jar Application.
- JDK(Openjdk 11 or later)
- Apache Maven
- Elasticsearch(worked on 7.7) for Database and text search
- vdaas/vald for image similarity search
sh build.sh
After install & run elasticsearch, run following to create index
java -jar jisedigi-back-0.1.jar batch create-index all
See jp.go.ndl.lab.dl.back.batch.IndexBookBatch and IndexIllustrationBatch
After install Kubernetes (such as [kind] https://kind.sigs.k8s.io/), run following to create pod
kubectl apply -f manifest/vald-pre/
kubectl apply -f manifest/vald-post/
if you want to custom the configuration, you can generate template file using helm chart(manifest/helmchart/values.yaml).
java -jar jisedigi-back-0.1.jar web
API is running on http://localhost:19998/dl/ by default
Frontend of Next Digital Library is SPA powered by vue & vue-router.
- Node.js (v14.19.1 or later)
npm install
npm run start
Check http://localhost:8080/dl/
npm build