Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed Oct 9, 2023
1 parent 3431271 commit e9d6df2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
24 changes: 24 additions & 0 deletions docs/user-guide/spark-lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ For more information on its usage, please refer to the `applications <../applica
Get GraphAr Spark Library
------------------------------

Building from source
`````````````````````

Make the graphar-spark-library directory as the current working directory:

.. code-block:: shell
Expand All @@ -44,6 +47,27 @@ After compilation, a similar file *graphar-x.x.x-SNAPSHOT-shaded.jar* is generat

Please refer to the `building steps <https://github.com/alibaba/GraphAr/tree/main/spark>`_ for more details.

Get from Maven
```````````````

You can include graphar as a dependency in your maven project

.. code-block:: shell
<repositories>
<repository>
<id>graphar-mvn-repo</id>
<url>https://github.com/alibaba/GraphAr/raw/mvn-repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>graphar</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>
How to Use
-----------------
Expand Down
4 changes: 0 additions & 4 deletions spark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ You can include graphar as a dependency in your maven project
<repository>
<id>graphar-mvn-repo</id>
<url>https://github.com/alibaba/GraphAr/raw/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<dependencies>
Expand Down

0 comments on commit e9d6df2

Please sign in to comment.