Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
auniverseaway authored Oct 8, 2024
1 parent 0e365f3 commit e4b15cf
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]: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

Expand Down

0 comments on commit e4b15cf

Please sign in to comment.