From ed1e586c09691254ab89a4675d06f92070cd4eb5 Mon Sep 17 00:00:00 2001 From: Chris Pryer Date: Sat, 26 Aug 2023 21:02:10 -0400 Subject: [PATCH] Update playground README.md --- 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/),