We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
The documentation mentions that vocprez works out of the box with vocbench. Could you provide an example (or docker-compose) on how to set this up?
Happy to help btw, here's a boilerplate:
Vocbench Dockerfile
FROM openjdk:8-jdk-alpine ENV vb_version=9.0.0 ENV st_version=9.0 ADD https://bitbucket.org/art-uniroma2/vocbench3/downloads/vocbench3-${vb_version}-full.zip /tmp RUN set -eux ; \ mkdir /opt/vocbench3 ; \ mkdir /opt/vocbench3/data ; \ cd /opt/vocbench3 ; \ unzip -q /tmp/vocbench3-${vb_version}-full.zip -d . ; \ chmod -R u=rwX,go=rX semanticturkey-${st_version} ; \ chmod +x semanticturkey-${st_version}/bin/* ; \ sed -i 's/\(data\.dir\)=.*/\1=..\/data\/SemanticTurkeyData/' /opt/vocbench3/semanticturkey-${st_version}/etc/it.uniroma2.art.semanticturkey.cfg ; \ rm /tmp/vocbench3-${vb_version}-full.zip WORKDIR /opt/vocbench3/semanticturkey-$st_version EXPOSE 1979 ENTRYPOINT ["bin/karaf"] CMD ["server"]
docker-compose.yml
version: "3" networks: sparql: driver: bridge services: vocbench3: build: ./vocbench3 image: vocbench ports: - "1979:1979" volumes: - "$PWD/data/stdata:/opt/vocbench3/data" networks: - sparql vocnw: build: https://github.com/RDFLib/VocPrez.git image: vocprez:latest restart: unless-stopped ports: - "5000:5000" volumes: - $PWD/config/vocprez-config.py:/vocprez/_config/__init__.py stdin_open: true tty: true networks: - sparql
How would I need to set up vocprez-config.py?
vocprez-config.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi!
The documentation mentions that vocprez works out of the box with vocbench. Could you provide an example (or docker-compose) on how to set this up?
Happy to help btw, here's a boilerplate:
Vocbench Dockerfile
docker-compose.yml
How would I need to set up
vocprez-config.py
?The text was updated successfully, but these errors were encountered: