From f33277a057d02b1c6c59b86a09133aa7fc617cf1 Mon Sep 17 00:00:00 2001 From: Chris Pryer <14341145+cnpryer@users.noreply.github.com> Date: Sun, 27 Aug 2023 04:54:42 -0400 Subject: [PATCH] Update playground README.md (#6909) --- playground/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playground/README.md b/playground/README.md index 6613d376f867c..082b7a9f15984 100644 --- a/playground/README.md +++ b/playground/README.md @@ -4,11 +4,11 @@ In-browser playground for Ruff. Available [https://play.ruff.rs/](https://play.r ## Getting started -First, build the WASM module by running `npm run build:wasm` (release build) or -`npm run build:wasm` (debug build) from the `./playground` directory. +In order to build the WASM module install [`wasm-pack`](https://rustwasm.github.io/wasm-pack/). -Then, install TypeScript dependencies with `npm install`, and run the development server with -`npm run dev`. +Next, build the WASM module by running `npm run build:wasm` (release build) or `npm run dev:wasm` (debug build) from the `./playground` directory. + +Finally, install TypeScript dependencies with `npm install`, and run the development server with `npm run dev`. To run the datastore, which is based on [Workers KV](https://developers.cloudflare.com/workers/runtime-apis/kv/), install the [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/install-and-update/),