From: Ardis Lu Date: Fri, 12 Jan 2024 06:17:17 +0000 (-0800) Subject: Clarify local dev instructions X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=6aa2e3e83b6bfabb797cc16534c31e1f4560678d;p=ardislu.dev Clarify local dev instructions --- diff --git a/README.md b/README.md index 2bfe87b..a8a8822 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ Use the `wrangler` CLI to serve the static frontend and the [Cloudflare Workers] 1. Copy `.dev.vars.example` and rename it to `.dev.vars`. Provide an email and private key for a service account with access to the Google Docs and Google Sheet. -2. `npx wrangler pages dev .` +2. `npm i` + +3. `npm run build` + +4. `npm run dev` To install new dependencies or update existing dependencies, run `npm run build` to generate a new `vendor.min.js`.