EO Chapter Manager

Documentation

Maintenance guide

How to run EO Chapter Manager year to year: the new board each July, members, backups, updates, security and costs.

How to keep EO Chapter Manager running from year to year: who looks after what, the new board each July, members and access, backups, updates, costs and security.

It is written for the chapter manager and whoever on the board owns the chapter's technology. Most tasks below are done on screens in the site. Some are a single sentence you can give your AI coding agent (Claude Code, Codex, Cursor or similar), opened in the chapter's copy of the code. Those are marked Ask the agent.


Who looks after what

Role Usually Looks after
Technology owner The chapter manager, or a board member who stays more than one term The GitHub, Supabase and Vercel accounts, backups, updates, keys
Chapter manager Staff Members, events, the board list, day-to-day questions
Board Each chair Their own goals, events and pages in /board

The technology owner should not change every year. If they do, run the account hand-over first.


The maintenance calendar

Every week

Every month

Every quarter

Every year, April to June

Every year, July


Accounts and passwords

Keep all of these in the chapter's shared password manager, not in one person's head or inbox:

Turn on two-factor sign-in for GitHub, Supabase, Vercel and Stripe.

When someone leaves

When the technology owner or chapter manager changes:

  1. Add the new person to the GitHub repository, the Supabase organisation and the Vercel team, as owners.
  2. Remove the person leaving from all three, and from Stripe and Resend.
  3. Change their role at /admin/users (or deactivate them).
  4. If they ever had a copy of .env.local, change the keys (see Changing keys).

Who can sign in, and to what

Everyone signs in at /login, either with an emailed link or a password.

Role Reaches How someone gets it
Guest Public pages, their own tickets Anyone who signs in
Member /member: events, tickets, directory, chapter news Automatic: their email is on a member record with an active (or on-leave) membership
Board /board and /member Automatic: they hold a Chair or Co-Chair appointment for the current board year. Can also be set by hand at /admin/users
Contractor Selected board pages Granted at /admin/users/contractors, sponsored by a current chair
Super admin Everything, including /admin Set at /admin/users by another super admin

Members do not need an invitation. If their email is on file, they go to /login, enter it and click the link they receive.

To give someone a login by hand (for example a new staff member), use Admin > Users > Invite user (/admin/users/new). They get an email with a link to choose a password. If email is not set up, the screen shows the link for you to send them yourself. To remove someone, set them to inactive at /admin/users; their history is kept.

Keep at least two super admins, so the chapter is never locked out.


Members

Adding members

On Board > Members, press Add member and enter their name, email, Primary or Secondary, and start date. If the email already belongs to someone on file (a prospect or a guest), their record is used instead of a duplicate. They can sign in at /login with that email straight away. Then add their company, forum and photo on their member page.

Members who leave or pause

Open the member's page from Board > Members. The Membership card shows their status. Change it to:

Status Use it when Member portal
Active A current member Yes
On leave A member taking a break Yes
Alumni They left in good standing No
Ended Their membership ended No
Transferred They moved to another chapter No

Add an end date and press Save. They lose member access the next time they sign in; their history stays. Every change is recorded with who made it.


The new board each July

EO's year runs from 1 July to 30 June. The year is named by the year it starts: 2027 means July 2027 to June 2028.

How the change-over works

Board access comes from board appointments: who holds which role (President, Membership, Forum and so on) as Chair or Co-Chair, for which year. The site always uses the newest board year that has already started. So:

People with a board role set by hand at /admin/users keep it until someone changes it.

Step 1: enter next year's board (April to June)

A super admin opens Admin > Board team (/admin/board-team) and picks next year at the top.

  1. Press Start from last year to copy last year's Chairs and Co-Chairs as a starting point, if many carry over.
  2. For each role, press Choose Chair or + Add for a Co-Chair, then search by name or email. Someone not on file can be added with their name and the email they will sign in with.
  3. Remove people who are moving on with the × next to their name.
  4. The banner at the top says when the year takes over ("These people get board access on 1 July") and lists any role still without a Chair.

Each role has one Chair per year and any number of Co-Chairs. Changes to the current year take effect immediately, and removing someone there asks you to confirm because they lose board access at once.

Add board photos at /board/photos.

Step 2: next year's numbers and goals

Step 3: open the new dues year (May or June)

On Board > Historical metrics, choose the new year under Members pay dues for. From that moment the dues pages (card and bank transfer, local and secondary) show the new year and charge its amounts. Nothing needs to be deployed. Set the dues amounts for the year before you open it; the screen will not open a year without them.

Step 4: on 1 July


Background jobs

Vercel runs these on a schedule. They need the Vercel Pro plan and the CRON_SECRET setting.

Job When What it does
Event survey Hourly Emails the feedback survey once per event, 1 to 72 hours after it ends
Release unpaid seats Hourly Frees seats held for a payment that was never completed
Content sync Hourly Keeps the marketing calendar and board cards in step
Deliverable sweep Daily Deletes abandoned uploads and long-archived card files
Closed cards Daily Posts the day's closed revenue cards to a Lark chat, if Lark is set up
Weekly sprints Mondays Opens the next week's sprint on boards that use sprints
Monthly goals 1st of the month Recalculates measurable key results from live data

To check they run: Vercel > your project > Settings > Cron Jobs lists each job and its last run. Most jobs also record every run in the database:

select * from routine_runs order by started_at desc limit 20;

If your chapter uses Lark, set LARK_OPS_WEBHOOK_URL and the site posts an alert after a job fails twice in a row.


Backups and restoring

What to back up

What Where it lives Backed up by
Members, events, payments, everything entered on the site Supabase database Supabase's daily backups (Pro plan), plus your own monthly copy
Uploaded photos and files Supabase Storage Not in the database backups. Download them yourself (below)
The code, logo, words and photos in the repository GitHub GitHub keeps every version
Settings and keys .env.local and Vercel Your password manager

Daily backups

The Supabase Pro plan keeps a daily backup for 7 days. The free plan keeps none. Move to Pro before real member data goes in. Check Supabase > Database > Backups monthly.

Your own monthly copy

Keep one copy outside Supabase, in the chapter's own storage, so the chapter is safe even if the account is lost.

Ask the agent: "Make a full backup of the database and the storage files into a dated folder." Or run it yourself with the database password:

pg_dump "$SUPABASE_DB_URL" --no-owner --no-privileges -Fc -f "backup-$(date +%Y-%m-%d).dump"

pg_dump comes with PostgreSQL; use the same major version as the database or newer (Supabase shows it under Settings > Infrastructure). To copy the storage files, use the Supabase dashboard (Storage, download each folder) or ask the agent to download them with the Supabase command-line tool.

Treat backup files as confidential: they contain every member's details.

Restoring

Practise a restore once a year on a separate test project, so you know it works before you need it.


Taking updates

New versions of EO Chapter Manager are published to github.com/dhajdu/eo-chapter-manager. Taking one is optional; the site keeps working without it. Take updates at least for security fixes.

Ask the agent: "Take the latest EO Chapter Manager update into our copy, keep our content and logo, apply any new database upgrades, and test it on a preview before it goes live."

What happens:

  1. The agent merges the new version into a branch, not straight into the live site. Your files in src/content/, public/logo/ and public/images/ are yours; where both sides changed them, it keeps yours.
  2. If the update has new files in supabase/upgrades/, it applies them to the database in number order. Each is written to be safe to run twice. Make a backup first.
  3. Vercel builds a preview of the branch at its own address. Click through the main pages there: home, events, /member, /board.
  4. When the preview looks right, the branch is merged into main and goes live.

By hand, the same steps are:

git remote add upstream https://github.com/dhajdu/eo-chapter-manager   # once
git fetch upstream
git switch -c update-$(date +%Y-%m)
git merge upstream/main
npm ci && npm test && npm run build
git push -u origin HEAD        # Vercel builds a preview

Then open a pull request on GitHub and merge it when the preview works.


Undoing a bad change


Security

Changing keys

Change the keys if .env.local may have leaked, or when someone who had it leaves:

  1. Supabase: Settings > API Keys: create a new secret key and revoke the old one. Change the database password under Settings > Database.
  2. Stripe, Resend, Anthropic: create a new key in each dashboard and delete the old one.
  3. The four random secrets (CRON_SECRET, UNSUBSCRIBE_SECRET, RSVP_ANTISPAM_SECRET, MCP_RECEIPT_SECRET): generate new ones with openssl rand -hex 32. Changing UNSUBSCRIBE_SECRET makes unsubscribe links in emails already sent stop working, so change it only if it leaked.
  4. Update .env.local and the Vercel settings, then redeploy.

Ask the agent: "Rotate our Supabase secret key and update Vercel."


Costs

Typical monthly costs for one chapter:

Service Plan About
Vercel Pro US$20
Supabase Pro (daily backups) US$25
Resend Free up to 3,000 emails, then Pro US$0 to 20
Anthropic Pay as you go A few dollars
Stripe Per payment No monthly fee
Domain Yearly US$10 to 50 a year

Set a spending limit or alert in Vercel and Anthropic, and check the bills monthly.


Where to look when something is wrong

Problem Look here
A page shows an error Vercel > Logs, filtered to the time it happened
The site will not build after a change Vercel > Deployments, the failed one, Build Logs. The last good version stays live
Sign-in emails do not arrive Supabase > Authentication > Logs; and whether custom SMTP is set (see the installation guide)
Other emails do not arrive Resend > Emails; check RESEND_API_KEY and the verified domain
A payment did not mark the ticket paid Stripe > Developers > Webhooks, the endpoint's recent deliveries
A background job did not run Vercel > Settings > Cron Jobs, and routine_runs
A board member cannot reach /board Their appointment for the current year at Admin > Board team, and that they sign in with the same email
A member signs in but only sees guest pages Their email on file, and the Membership card on their page says Active or On leave
Someone changed a record and you need to know who audit_log in the Supabase table editor

Ask the agent with the error message and what you were doing. It can read the logs, find the cause and propose a fix, which you approve before it goes live. Problems with the software itself can be reported at github.com/dhajdu/eo-chapter-manager/issues.