Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ Set:
- `supabaseUrl` — your Supabase project URL
- `supabaseAnonKey` — anon or publishable key (safe for browser; protect data with RLS)
- `donateUrl` — optional
- `analyticsId` — optional Google Analytics Measurement ID (for example `G-XXXXXXXXXX`). Leave empty to disable analytics.

`config.js` is gitignored in the public repo.

### Google Analytics (optional)

To enable Google Analytics on your deployment, set `analyticsId` in `web/config.js`.

If `analyticsId` is left empty, no Google Analytics script is loaded.

## Deploy

From repo root:
Expand Down
3 changes: 2 additions & 1 deletion web/config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ window.CAREEROPS_CONFIG = {
supabaseUrl: 'https://YOUR_PROJECT.supabase.co',
supabaseAnonKey: 'YOUR_SUPABASE_ANON_OR_PUBLISHABLE_KEY',
// optional
donateUrl: ''
donateUrl: '',
analyticsId: ''
}
31 changes: 25 additions & 6 deletions web/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading