mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 23:47:50 +08:00
feat: update readme
This commit is contained in:
@@ -34,7 +34,7 @@ wrangler d1 execute dev --file=db/schema.sql
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd worker
|
cd worker
|
||||||
npm install
|
pnpm install
|
||||||
# copy wrangler.toml.template to wrangler.toml
|
# copy wrangler.toml.template to wrangler.toml
|
||||||
# and add your d1 config and these config
|
# and add your d1 config and these config
|
||||||
# PREFIX = "tmp" - the email create will be like tmp<xxxxx>@DOMAIN
|
# PREFIX = "tmp" - the email create will be like tmp<xxxxx>@DOMAIN
|
||||||
@@ -43,7 +43,7 @@ npm install
|
|||||||
# BLACK_LIST = ""
|
# BLACK_LIST = ""
|
||||||
cp wrangler.toml.template wrangler.toml
|
cp wrangler.toml.template wrangler.toml
|
||||||
# deploy
|
# deploy
|
||||||
wrangler deploy
|
pnpm run deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
you can find and test the worker's url in the workers dashboard
|
you can find and test the worker's url in the workers dashboard
|
||||||
@@ -64,7 +64,7 @@ pnpm install
|
|||||||
cp .env.example .env.local
|
cp .env.example .env.local
|
||||||
pnpm build --emptyOutDir
|
pnpm build --emptyOutDir
|
||||||
cd ..
|
cd ..
|
||||||
wrangler pages deploy dist --branch production
|
pnpm run deploy
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Reference in New Issue
Block a user