Skip to content

Commit c7d4f3a

Browse files
committed
GH-5765: documentation for testing RDF4J from developer perspective
- running the RDF4J workbench and Server in a Jetty container
1 parent 93f1d6f commit c7d4f3a

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: "Testing"
3+
toc: true
4+
autonumbering: true
5+
---
6+
7+
## Testing the RDF4J Workbench Locally
8+
9+
### Build the project
10+
11+
```sh
12+
mvn -Passembly package
13+
cd assembly/target
14+
unzip eclipse-rdf4j-*-sdk.zip
15+
cd eclipse-rdf4j-*-SNAPSHOT
16+
```
17+
18+
19+
### Run the workbench in Docker
20+
21+
```sh
22+
docker run -d \
23+
--name rdf4j \
24+
--platform linux/amd64 \
25+
--restart unless-stopped \
26+
-p 8080:8080 \
27+
-v "$(pwd)/war/rdf4j-server.war:/var/lib/jetty/webapps/rdf4j-server.war" \
28+
-v "$(pwd)/war/rdf4j-workbench.war:/var/lib/jetty/webapps/rdf4j-workbench.war" \
29+
-v rdf4j-data:/var/rdf4j \
30+
jetty:12.1-jdk25-alpine \
31+
--module=ee10-deploy
32+
```
33+
34+
### Access
35+
36+
| Application | URL |
37+
|---|---|
38+
| RDF4J Server | http://localhost:8080/rdf4j-server |
39+
| RDF4J Workbench | http://localhost:8080/rdf4j-workbench |

0 commit comments

Comments
 (0)