Skip to content

Commit

Permalink
Add a bit more detail to setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
johtso authored Apr 4, 2024
1 parent 42712e8 commit 985759a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ D1 Manager is a web UI and API for Cloudflare D1, a serverless SQL database. It

1. Fork this repo
2. Setup a **Cloudflare Pages** with the forked repo
3. Use **Cloudflare Access** to protect the your site
4. **Bind databases** to `DB_*` environment variables
- Select the **SveltKit** framework preset.
- Build command: `npm run build`
- Build output directory: `.svelte-kit/cloudflare`
4. Use **Cloudflare Access** to protect the your site
- The default access rules only restrict access to preview pages, so make sure to add other urls you want protected.
6. **Bind databases** to `DB_*` environment variables

![bind-d1](./images/bind-d1.png)

Expand Down

0 comments on commit 985759a

Please sign in to comment.