Skip to content

docs: add local dev setup and contributor onboarding guide - #22

Merged
TomHAnderson merged 2 commits into
lcdborg:mainfrom
tarheelcoxn:docs/contributor-onboarding
Mar 5, 2026
Merged

TomHAnderson merged 2 commits into
lcdborg:mainfrom
tarheelcoxn:docs/contributor-onboarding

Conversation

@tarheelcoxn

@tarheelcoxn tarheelcoxn commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds CONTRIBUTING.md and docker-compose.yml to give student contributors a documented path from zero to a working local environment.

  • Docker dev environment (docker-compose.yml) — docker compose up starts the Next.js dev server with hot-reload; no global Node or yarn install required
  • Env configuration — documents NEXT_PUBLIC_GRAPHQL_SERVER options; notes explicitly that the production GraphQL API is publicly readable so frontend contributors can see real data immediately without any backend setup
  • Fork-and-PR workflow — documents the gh-based fork workflow for external contributors who don't have direct push access
  • Backend complexity warnings — flags Doctrine ORM, PHP 8.3, XML entity metadata, and the empty-database situation for anyone venturing into the backend repo
  • Good First Issues stub — placeholder with interim guidance while formal issue labels are established
  • Community Guidelines stub — placeholder noting common options (Contributor Covenant, CNCF CoC, bespoke CODE_OF_CONDUCT.md)

The stub sections are intentionally incomplete. Maintainer edits or discussion leading to a revised PR are expected and welcome before this lands.

Test plan

  • cp .env.local.dist .env.local and set NEXT_PUBLIC_GRAPHQL_SERVER=https://graphql.lcdb.org/
  • docker compose up starts the dev server at http://localhost:3000
  • App loads and displays data from the production GraphQL API
  • docker compose down cleans up without errors

- Add docker-compose.yml for a containerised Next.js dev environment
  (node:18-alpine, hot-reload via volume mount, isolated node_modules)
- Document first-time setup, day-to-day workflow, and env configuration
- Note that the production GraphQL API is publicly readable — no local
  backend or database setup required for frontend-only contributions
- Add backend complexity warnings (Doctrine ORM, PHP 8.3, XML metadata,
  empty database, mandatory composer test suite)
- Stub Good First Issues section with interim guidance for students
- Stub Community Guidelines section with options (Contributor Covenant,
  CNCF CoC, bespoke CODE_OF_CONDUCT.md)

Assisted-by: Claude Sonnet 4.6 via Claude Code
Signed-off-by: Cristóbal Palmer <cmp@cmpalmer.org>
Students and other contributors without direct push access need to know
how to submit changes via a personal fork. Adds a "Submitting a Pull
Request" section with the full gh + git workflow.

Assisted-by: Claude Sonnet 4.6 via Claude Code
Signed-off-by: Cristóbal Palmer <cmp@cmpalmer.org>
@TomHAnderson
TomHAnderson merged commit 3c6cded into lcdborg:main Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants