From 985759ac16a94fc225911e59259ded4ee08084ba Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 4 Apr 2024 01:28:25 +0100 Subject: [PATCH] Add a bit more detail to setup instructions #37 #48 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 08e98ac..d17dfa2 100644 --- a/README.md +++ b/README.md @@ -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)