From 32fa7a6254cca5402e39b7a67d038ee88afd09ac Mon Sep 17 00:00:00 2001 From: Axel Baudot <74733630+axelbdt@users.noreply.github.com> Date: Wed, 7 Jun 2023 10:10:26 -0400 Subject: [PATCH] doc: update frontend dev instructions (#1691) --- README.md | 7 ++++--- frontend/README_DEV.md | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8cd4ce13aa..f7e0591281 100644 --- a/README.md +++ b/README.md @@ -372,9 +372,10 @@ with hot-code reloading. 1. Install [caddy](https://caddyserver.com) 2. Go to `frontend/`: - 1. `npm install`, `npm run generate-backend-client` then `npm run dev` - 2. In another shell `sudo caddy run --config CaddyfileRemote` -3. Et voilĂ , windmill should be available at `http://localhost/` + 1. `npm install` + 2. `npm run generate-backend-client` + 3. `npm run dev` +3. Et voilĂ , windmill should be available at `http://localhost:3000/` ### Backend + Frontend diff --git a/frontend/README_DEV.md b/frontend/README_DEV.md index 561712384a..43d16ac1b8 100644 --- a/frontend/README_DEV.md +++ b/frontend/README_DEV.md @@ -1,5 +1,7 @@ # Developing +In the `frontend/` directory: + - install the dependencies with `npm install` (or `pnpm install` or `yarn`) - generate the windmill client: