Skip to content

Commit

Permalink
Get tour of Restate from examples repo (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen authored Feb 5, 2024
1 parent cd6b10b commit 59638c5
Showing 1 changed file with 33 additions and 13 deletions.
46 changes: 33 additions & 13 deletions docs/tour.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ This guide is written for:

</TabItem>
<TabItem value="java" label="Java">

:::caution
Please note that the Java/Kotlin SDK is still in early beta. We would love to hear your feedback!
:::

- JDK >= 11
- [Docker Engine](https://docs.docker.com/engine/install/) or [Podman](https://podman.io/docs/installation) to launch the Restate runtime (not needed for the app implementation itself).
- [curl](https://everything.curl.dev/get)
Expand All @@ -67,11 +62,23 @@ This guide is written for:
<Tabs groupId="sdk" queryString>
<TabItem value="ts" label="TypeScript">

Clone the GitHub repository of the [tutorial](https://github.com/restatedev/tour-of-restate):
Download the [tutorial](https://github.com/restatedev/examples/tree/main/typescript/tour-of-restate):

```shell
git clone --depth 1 --branch vVAR::TOUR_VERSION [email protected]:restatedev/tour-of-restate.git && cd tour-of-restate/typescript
```
- Via the CLI:
```shell
restate example typescript-tour-of-restate && cd typescript-tour-of-restate
```

- Via git clone:
```shell
git clone [email protected]:restatedev/examples.git
cd examples/typescript/tour-of-restate
```

- Via `wget`:
```shell
wget https://github.com/restatedev/examples/releases/latest/download/typescript-tour-of-restate.zip && unzip typescript-tour-of-restate.zip -d typescript-tour-of-restate && rm typescript-tour-of-restate.zip
```

This GitHub repository contains the basic skeleton of the NodeJS/TypeScript services that you develop in this tutorial.

Expand All @@ -83,10 +90,23 @@ npm install && npm run build
</TabItem>
<TabItem value="java" label="Java">

Clone the GitHub repository of the [tutorial](https://github.com/restatedev/tour-of-restate):
```shell
git clone --depth 1 --branch vVAR::TOUR_VERSION [email protected]:restatedev/tour-of-restate.git && cd tour-of-restate/java
```
Download the [tutorial](https://github.com/restatedev/examples/tree/main/java/tour-of-restate):

- Via the CLI:
```shell
restate example java-tour-of-restate && cd java-tour-of-restate
```

- Via git clone:
```shell
git clone [email protected]:restatedev/examples.git
cd examples/java/tour-of-restate
```

- Via `wget`:
```shell
wget https://github.com/restatedev/examples/releases/latest/download/java-tour-of-restate.zip && unzip java-tour-of-restate.zip -d java-tour-of-restate && rm java-tour-of-restate.zip
```

This GitHub repository contains the basic skeleton of the Java services that you develop in this tutorial.

Expand Down

0 comments on commit 59638c5

Please sign in to comment.