Changeset View
Changeset View
Standalone View
Standalone View
java/server/README.md
Show All 13 Lines | |||||
-------------- | -------------- | ||||
```bash | ```bash | ||||
$ java -cp target/swh-graph-0.0.1-jar-with-dependencies.jar \ | $ java -cp target/swh-graph-0.0.1-jar-with-dependencies.jar \ | ||||
org.softwareheritage.graph.App \ | org.softwareheritage.graph.App \ | ||||
<compressed_graph_path> | <compressed_graph_path> | ||||
``` | ``` | ||||
Default port is 5009. | Default port is 5009 (use the `--port` option to change port number). If you | ||||
need timings metadata send back to the client in addition to the result, use the | |||||
`--timings` flag. | |||||
Tests | Tests | ||||
----- | ----- | ||||
Unit tests rely on test data that are already available in the Git repository | Unit tests rely on test data that are already available in the Git repository | ||||
(under `src/test/dataset/`). You generally only need to run them using Maven: | (under `src/test/dataset/`). You generally only need to run them using Maven: | ||||
```bash | ```bash | ||||
Show All 18 Lines |