my personal site
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md with deployment instructions and local development URL

- Clarified the instructions for adding the first ad via Admin UI or `curl`, specifying to run from the `gymtracker/` directory.
- Added a note to replace the admin API key in the `curl` command.
- Included instructions for using a local development URL when running `npx wrangler dev`.

+5 -1
+5 -1
gymtracker/README.md
··· 62 62 63 63 ## Seed First Config 64 64 65 - After deploy, add your first ad via Admin UI or `curl`: 65 + After deploy, add your first ad via Admin UI or `curl`. Run from the `gymtracker/` directory: 66 66 67 67 ```bash 68 + # Replace YOUR_ADMIN_API_KEY with the secret from step 2 69 + 68 70 # Placeholder (inactive) — GET returns 404 until you activate 69 71 curl -X PUT https://gymtracker.jackhannon.net/api/ads \ 70 72 -H "Content-Type: application/json" \ ··· 77 79 -H "X-API-Key: YOUR_ADMIN_API_KEY" \ 78 80 -d @seed-ad-active.json 79 81 ``` 82 + 83 + For local dev (with `npx wrangler dev` running), use `http://localhost:8787` instead of the production URL. 80 84 81 85 **Admin UI:** Visit [https://gymtracker.jackhannon.net/admin](https://gymtracker.jackhannon.net/admin) — sign in with Cloudflare Access (Google or your configured provider). See [ACCESS_SETUP.md](ACCESS_SETUP.md) to configure. 82 86