From 2f55699d4dd33e36842bf1ad6c5c0ad37e44fbcd Mon Sep 17 00:00:00 2001 From: Giselle van Dongen Date: Mon, 5 Feb 2024 11:23:50 +0100 Subject: [PATCH] Get tour of Restate from examples repo --- docs/tour.mdx | 46 +++++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/docs/tour.mdx b/docs/tour.mdx index 29ee6f18..63666636 100644 --- a/docs/tour.mdx +++ b/docs/tour.mdx @@ -43,11 +43,6 @@ This guide is written for: - -:::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) @@ -67,11 +62,23 @@ This guide is written for: -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 git@github.com: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 git@github.com: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. @@ -83,10 +90,23 @@ npm install && npm run build -Clone the GitHub repository of the [tutorial](https://github.com/restatedev/tour-of-restate): -```shell -git clone --depth 1 --branch vVAR::TOUR_VERSION git@github.com: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 git@github.com: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.