diff --git a/README.md b/README.md index 93f992b..88688fe 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ protocol-droid/ ``` 4. The database schema auto-initializes on first API request (creates `data/protocol_droid.db`) 5. Visit the site and register — the **first user to register becomes admin** -5. Optionally load seed protocols: Go to your **profile page** (click your @username) and click **"Load Seed Protocols"** (visible to admins only). This loads 100 example protocols into your library. Can be repeated to re-import seeds. +6. Optionally load seed protocols: Go to the **About** page and click **"Load seed protocols"** (visible to admins only). This loads 6 example protocols into your library in one click. No curl needed. **No default admin credentials exist.** A fresh deployment has an empty database. The first registration creates the admin account. Seed protocols are optional and must be explicitly loaded. @@ -122,7 +122,7 @@ cd protocol-droid php -S localhost:8000 ``` -The SQLite database is created automatically at `data/protocol_droid.db`. The first registration creates the admin account. To load the 100 sample protocols, go to your **profile page** (click your @username) and click **"Load Seed Protocols"** (admins only). +The SQLite database is created automatically at `data/protocol_droid.db`. The first registration creates the admin account. To load the 6 sample protocols (Round Robin Check-In, Consent Decision-Making, etc.): ```bash # After registering as admin: @@ -171,6 +171,17 @@ curl -b cookies.txt -X DELETE http://localhost:8000/api/protocols/round-robin-ch Protocol Droid is designed to be fully whitelabel-able. Here's how to customize it for your deployment: +### Logo + +The logo is an SVG file at `frontend/logo.svg`. It appears in the header next to the site name and as the browser/PWA icon. + +To replace it: +1. Create your own SVG logo (or PNG) +2. Replace `frontend/logo.svg` (and `frontend/favicon.ico`, `frontend/icon-192.png`, `frontend/icon-512.png` for PWA icons) +3. If using a different filename, update the `` tags in `frontend/index.html` + +For PWA icons, generate 192x192 and 512x512 PNG versions of your logo and save them as `frontend/icon-192.png` and `frontend/icon-512.png`. The web manifest is at `manifest.json` in the project root. + ### Site name and tagline Edit `config.yaml` in the project root: diff --git a/frontend/favicon.ico b/frontend/favicon.ico new file mode 100644 index 0000000..a1c9afe Binary files /dev/null and b/frontend/favicon.ico differ diff --git a/frontend/icon-192.png b/frontend/icon-192.png new file mode 100644 index 0000000..843aeda Binary files /dev/null and b/frontend/icon-192.png differ diff --git a/frontend/icon-512.png b/frontend/icon-512.png new file mode 100644 index 0000000..91c86f2 Binary files /dev/null and b/frontend/icon-512.png differ diff --git a/frontend/index.html b/frontend/index.html index 1cc1b08..64a2164 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,13 +4,18 @@