Skip to content

Commit

Permalink
Remove wrangler.toml from git (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
byn9826 authored Aug 17, 2024
1 parent 1925202 commit f33e41f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/auth-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ cd melody-auth
npm install
```

2. Update `server/wrangler.toml`:
2. Copy the Example Configuration File
Execute the following commands to copy the example configuration file to the active configuration file:
```
cd server
cp wrangler.toml.example wrangler.toml
```

3. Update `server/wrangler.toml`:
Replace the KV id and D1 id with your newly created resources:
```toml
[[kv_namespaces]]
Expand All @@ -64,7 +71,7 @@ npm run prod:deploy
Now you are all set, you can verify your server by accessing: `[your_worker_url]/.well-known/openid-configuration`

## Email Functionality Setup
Melody Auth supports email-based features such as password reset and email verification. To enable these features, you need to set up SendGrid integration and configure the necessary environment variables in your Cloudflare Worker.
Melody Auth supports email-based features such as password reset, email verification and email MFA. To enable these features, you need to set up SendGrid integration and configure the necessary environment variables in your Cloudflare Worker.

### Prerequisites
- A SendGrid account
Expand Down
File renamed without changes.

0 comments on commit f33e41f

Please sign in to comment.