Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Duckelekuuk committed Sep 1, 2023
1 parent b012ae7 commit 963a4f5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,27 @@ It allows you to write your application against your interface as if it's local

> *Note that this diagram ommits certain parts, like scheduling/threading and abstracted serailization layers to make it more readable.*
# Installation
Meteor comes by default with a local loopback transport.
Meteor is available on Maven Central, and can be installed by adding the following dependency to your `pom.xml` file:
```xml
<dependency>
<groupId>dev.pixelib.meteor</groupId>
<artifactId>meteor-core</artifactId>
<version>1.0.0</version>
</dependency>
```

## Transports
For the time being, only Jedis transport layer is supported, but more transports are planned for the future.
You can install the Redis transport by adding the following dependency to your `pom.xml` file:
```xml
<dependency>
<groupId>dev.pixelib.meteor.transport</groupId>
<artifactId>meteor-jedis</artifactId>
<version>1.0.0</version>
</dependency>
```

# Usage
Let's say that you have an interface like this;
Expand Down
7 changes: 2 additions & 5 deletions meteor-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@

<artifactId>meteor-core</artifactId>

<properties>
<meteor-serializer.version>${revision}</meteor-serializer.version>
</properties>

<dependencies>
<dependency>
<groupId>io.netty</groupId>
Expand All @@ -26,7 +22,8 @@
<dependency>
<groupId>dev.pixelib.meteor</groupId>
<artifactId>meteor-common</artifactId>
<version>${meteor-serializer.version}</version>
<version>${revision}</version>
<scope>compile</scope>
</dependency>

<dependency>
Expand Down

0 comments on commit 963a4f5

Please sign in to comment.