Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get tour of Restate from examples repo #293

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading