Is a servce for uploading files to repositories for long-term preservation. For more Information see https://immerarchiv.de
- 5 minute setup (onyl one small config file)
- upload files files fully automatically into the configured repositories
- web interface for status view
- file system watcher to detect new files in configured directories
- Providing the repositories (see PHPRepository auf Linux-Server installieren)
- Configure Service config.yml
- Start Service
---
#Port nummber for UserInterface use Browser on localhost:8888
server:
port: 8888
repositories:
- url: "http://repository.domain.org:8881"
name: "username"
token: "--token--"
pathes:
- path: "C:/Stuff/Archiv1"
ignore: ["Thumbs.db"]
java -jar UploadService-1.0.0-jar-with-dependencies.jar
create runnable jar and run it with jawis https://github.com/dfriedenberger/jawis
Test upload service with repositories. You can download PHPRepository from https://immerarchiv.de/software-download/ Otherwise you can use docker.
cd src/test/resources/docker
docker build -t immerarchiv.repository .
docker run -it --rm -p 8881:80 -h repository1.example.org immerarchiv.repository:latest
Initialize in Browser http://localhost:8881/
docker run -it --rm -p 8882:80 -h repository2.example.org immerarchiv.repository:latest
Initialize in Browser http://localhost:8881/
and so on ...
docker run -it --rm -p 8881:80 -h test.immerarchiv.com immerarchiv.repository:latest bash
> apache2ctl start
Dirk Friedenberger, Waldaschaff, Germany
Write me (oder Schreibe mir) (o Escríbeme) projekte@frittenburger.de