feat: add readme (#106)

This commit is contained in:
Dream Hunter
2024-04-09 18:55:53 +08:00
committed by GitHub
parent 796d72badb
commit a124e00766
3 changed files with 15 additions and 11 deletions

View File

@@ -43,6 +43,8 @@ wrangler d1 execute dev --file=db/schema.sql
### Backend - Cloudflare workers
The first deployment will prompt you to create a project. Please fill in `production` for the `production` branch.
```bash
cd worker
pnpm install
@@ -65,12 +67,18 @@ you can find and test the worker's url in the workers dashboard
![worker](readme_assets/worker.png)
## Cloudflare Email Routing
Before you can bind an email address to your Worker, you need to enable Email Routing and have at least one verified email address.
enable email route and config email forward catch-all to the worker
![email](readme_assets/email.png)
### Frontend - Cloudflare pages
The first deployment will prompt you to create a project. Please fill in `production` for the `production` branch.
```bash
cd frontend
pnpm install