fix build and serverless READMEs

This commit is contained in:
Brandon Liu
2022-11-23 12:06:26 +08:00
parent 6b36663d10
commit ce6a4dbe0a
3 changed files with 9 additions and 5 deletions

View File

@@ -4,6 +4,10 @@ See installation and configuration instructions at [Protomaps Docs: Deploy on Cl
## Development
Option 1: with Wrangler, run `npm run start` to serve your Worker on http://localhost:8787. The cache will not be active in development.
### Web Console (basic)
Option 2: Generate the Workers script using `npm run build` and copy `dist/index.js` to the editor.
Generate the Workers script using `npm run build` and copy `dist/index.js` to the editor.
### Wrangler (advanced)
with Wrangler, run `npm run start` to serve your Worker on http://localhost:8787. The cache will not be active in development.