diff --git a/README.md b/README.md index 37e8816..9c14c9c 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,24 @@ You can read the official API docs here: https://docs.da.live 1. Node 20+ ### Local development -1. Clone this repo to your computer. -1. In a terminal, run `npm install` this repo's folder. -1. Run `npm run dev` to start a local server. You may be asked to login to Cloudflare. -1. Browse to `http://localhost:8787/list` to ensure you see the expected buckets. + +#### 1. Clone +```bash +git clone git@github.com:adobe/da-admin +``` +#### 2. Install +In a terminal, run `npm install` this repo's folder. + +#### 3. Login +Use `npx wrangler login`. Walk through the steps in browser. + +#### 4. Setup an auth KV +KV is used for high-performance R/W operations. This value is stored locally. +```bash +npx wrangler kv:key put orgs '[{"name":"aemsites","created":"2023-10-31T17:43:13.390Z"}]' --binding=DA_AUTH --local +``` +#### 5. Validate +Browse to `http://localhost:8787/list` to ensure you see the expected buckets. ### Additional details