From cbe35c36e79a789db1852b76845c46715b809416 Mon Sep 17 00:00:00 2001 From: dreamhunter2333 Date: Fri, 25 Aug 2023 18:21:13 +0800 Subject: [PATCH] feat: update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b3cdeee0..50b7f1fd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ wrangler d1 execute dev --file=db/schema.sql ```bash cd worker -npm install +pnpm install # copy wrangler.toml.template to wrangler.toml # and add your d1 config and these config # PREFIX = "tmp" - the email create will be like tmp@DOMAIN @@ -43,7 +43,7 @@ npm install # BLACK_LIST = "" cp wrangler.toml.template wrangler.toml # deploy -wrangler deploy +pnpm run deploy ``` you can find and test the worker's url in the workers dashboard @@ -64,7 +64,7 @@ pnpm install cp .env.example .env.local pnpm build --emptyOutDir cd .. -wrangler pages deploy dist --branch production +pnpm run deploy ``` ![pages](readme_assets/pages.png)