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
- Glance at the board's chapter dashboard. Missing numbers usually mean an event or member was not entered.
Every month
- Check that background jobs ran (see Background jobs).
- Check that a backup exists for the last few days (Supabase > Database > Backups).
- Check the bills on Supabase, Vercel and, if used, Resend and Anthropic.
Every quarter
- Look for a new version of EO Chapter Manager and take it (see Taking updates).
- Open Supabase > Advisors and fix anything marked security.
- Review who has admin access at
/admin/users.
Every year, April to June
- Enter next year's board at Admin > Board team (see The new board each July).
- Set next year's dues and metrics, and open the new dues year.
- Set members who did not renew to Ended or Alumni on their member page.
Every year, July
- Check the new board can sign in to
/board. - Hand over accounts if the technology owner changes.
Accounts and passwords
Keep all of these in the chapter's shared password manager, not in one person's head or inbox:
- GitHub, Supabase and Vercel logins (ideally under a chapter email address)
- The database password from installation. Supabase cannot show it again; without it you cannot restore a backup or run upgrades by hand
- Stripe, Resend and Anthropic logins, if used
- The domain registrar login (where your web address is managed)
- A copy of
.env.local, the settings file. It holds every key the site uses
Turn on two-factor sign-in for GitHub, Supabase, Vercel and Stripe.
When someone leaves
When the technology owner or chapter manager changes:
- Add the new person to the GitHub repository, the Supabase organisation and the Vercel team, as owners.
- Remove the person leaving from all three, and from Stripe and Resend.
- Change their role at
/admin/users(or deactivate them). - 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:
- You can enter next year's board in April. Nothing changes until 1 July.
- On 1 July, the new board gets
/boardaccess and the public board page shows them. Nothing needs to be run that day. - If nobody enters a new board, last year's board keeps access. Do not let that happen.
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.
- Press Start from last year to copy last year's Chairs and Co-Chairs as a starting point, if many carry over.
- 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.
- Remove people who are moving on with the × next to their name.
- 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
- Chapter metrics and dues rates: Board > Historical metrics (
/board/historical-metrics). Add the new year and fill in the dues per member, secondary chapter dues and initiation fee. The chapter dashboard uses this row. - Goals:
/board/goals. The new board sets its priorities, key results and each chair's goal, usually at the first board meeting. - Handover notes: the outgoing team writes their reflections at
/board/handoverbefore they leave.
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
- Ask two incoming board members to sign in and open
/board. - Check the public board page shows the new board.
- Change by-hand roles at
/admin/usersfor anyone leaving the board.
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
- From a Supabase daily backup: Supabase > Database > Backups > Restore. It replaces the whole database with that day's copy; anything entered since is lost. The site is down for a few minutes.
- From your own copy: create a new Supabase project, restore the file into it with
pg_restore, then point the site at the new project's keys. Ask the agent to do it; it is the same as moving region.
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:
- The agent merges the new version into a branch, not straight into the live site. Your files in
src/content/,public/logo/andpublic/images/are yours; where both sides changed them, it keeps yours. - 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. - Vercel builds a preview of the branch at its own address. Click through the main pages there: home, events,
/member,/board. - When the preview looks right, the branch is merged into
mainand 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
- A code or content change broke the site: in Vercel > Deployments, open the last good deployment and choose Instant Rollback (or Promote to Production). The old version is live again within a minute. Then fix or undo the change in GitHub, because the next push will replace the rollback.
- Data was deleted or damaged: restore from a backup (above). If only a few records are affected, restore the backup into a separate test project and copy the records across, rather than rolling back the whole chapter. Ask the agent to help.
Security
- Never share
.env.localor paste its contents into email or chat. It contains the key that can read and change every record. - Never set the demo settings (
NEXT_PUBLIC_DEMO_MEMBER_LOGIN,NEXT_PUBLIC_DEMO_BOARD_LOGIN) on a real chapter. They show sign-in details on the login page to anyone. - Keep row-level security on. Supabase > Advisors warns if a table is exposed. The site's server code is the only thing that reads sensitive tables.
- Review access every quarter at
/admin/users: remove people who left the board or staff.
Changing keys
Change the keys if .env.local may have leaked, or when someone who had it leaves:
- Supabase: Settings > API Keys: create a new secret key and revoke the old one. Change the database password under Settings > Database.
- Stripe, Resend, Anthropic: create a new key in each dashboard and delete the old one.
- The four random secrets (
CRON_SECRET,UNSUBSCRIBE_SECRET,RSVP_ANTISPAM_SECRET,MCP_RECEIPT_SECRET): generate new ones withopenssl rand -hex 32. ChangingUNSUBSCRIBE_SECRETmakes unsubscribe links in emails already sent stop working, so change it only if it leaked. - Update
.env.localand 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.