Note
This repository is not currently accepting contributions. While we appreciate your interest in the project, we're not set up to handle external contributions at this time. Thank you for your understanding!
ContribFest is a web application built with Next.js, React, and TypeScript.
- Copy the example environment file:
cp .env.example .env.local-
Configure your environment variables in
.env.local:NEXT_PUBLIC_GA_ID: Your Google Analytics GA4 Measurement ID (optional)
-
Install dependencies:
yarn install- Fetch the GitHub data snapshot used by the issues and Contrib Champs pages:
GITHUB_TOKEN=$(gh auth token) yarn fetch-data
# Optionally add mock issues (see mocks/issues.example.json)
GITHUB_TOKEN=$(gh auth token) yarn fetch-data mocks/issues.example.json
# Or use only mock issues, with no GitHub token needed
yarn fetch-data --no-github mocks/issues.example.json- Run the development server:
yarn devOpen http://localhost:3000 to view the application. See docs/deployment.md for how the snapshot is refreshed in production, and docs/organizer-runbook.md for running an event.
yarn buildThis project is configured to deploy to GitHub Pages via GitHub Actions. To enable Google Analytics in production:
- Go to your repository's Settings > Secrets and variables > Actions
- Add a new repository secret:
- Name:
NEXT_PUBLIC_GA_ID - Value: Your Google Analytics GA4 Measurement ID (e.g.,
G-XXXXXXXXXX)
- Name:
The CD workflow will automatically include this in production builds.
See LICENSE for more information.