Skip to content
Snippets Groups Projects
Commit 20490894 authored by Antoine Lambert's avatar Antoine Lambert Committed by vlorentz
Browse files

doc: Update CLI commands to compress a graph

Some parameters have been renamed so some examples were not working anymore.
parent 63a2f16a
Loading
Pipeline #12866 canceled
......@@ -93,7 +93,7 @@ will run all the various steps of the pipeline in the right order.
.. code:: console
(venv) $ swh graph compress --input-dataset orc/ --outdir compressed/
(venv) $ swh graph compress --input-dataset orc/ --output-directory compressed/
[...]
(venv) $ ls compressed/
graph.edges.count.txt
......
......@@ -38,7 +38,7 @@ or, as a shortcut:
.. code:: bash
$ docker/run.sh /PATH/TO/GRAPH/
$ ./docker/run.sh /PATH/TO/GRAPH/
Where ``/PATH/TO/GRAPH`` is a directory containing the ``g.edges.csv.zst`` and
``g.nodes.csv.zst`` files. By default, when entering the container the current
......@@ -53,9 +53,9 @@ To compress the graph (from within the docker container):
.. code:: bash
$ docker/run.sh /PATH/TO/GRAPH/
$ ./docker/run.sh /PATH/TO/GRAPH/
root@7f3306806861:/srv/softwareheritage/graph# \
swh graph compress --graph data/g --outdir data/compressed
swh graph compress --input-dataset data/g --output-directory data/compressed
Graph server
......@@ -65,6 +65,6 @@ To start the swh-graph server (from within the docker container):
.. code:: bash
$ docker/run.sh /PATH/TO/GRAPH/
$ ./docker/run.sh /PATH/TO/GRAPH/
root@7f3306806861:/srv/softwareheritage/graph# \
swh graph rpc-serve --graph data/compressed/g
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment