]> git.ardis.lu - ardislu.dev/commitdiff
Clarify local dev instructions
authorArdis Lu <ardisglu@gmail.com>
Fri, 12 Jan 2024 06:17:17 +0000 (22:17 -0800)
committerArdis Lu <ardisglu@gmail.com>
Fri, 12 Jan 2024 06:17:17 +0000 (22:17 -0800)
README.md

index 2bfe87b01aaf1d6359dded4d51c78225f0ef93fc..a8a88223a4bb6fd9b1e30850f53f0c3eb4ff0354 100644 (file)
--- 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`.
This page took 0.044925 seconds and 4 git commands to generate.