Skip to content

Commit 1e980bd

Browse files
authored
Merge pull request #50 from johtso/patch-1
Add a bit more detail to setup instructions
2 parents 42712e8 + 985759a commit 1e980bd

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ D1 Manager is a web UI and API for Cloudflare D1, a serverless SQL database. It
1919

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

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

0 commit comments

Comments
 (0)