- Sebastian Noel (@sebastian-noel)
- Stevin George (@stevin006)
- Alejandro Jaimes (@alecocosette)
Message Sebastian through discord if you have an interest in contributing.
- Next.js
- Three.js
- TypeScript
- ESLint
- Node.js (LTS)
git clone https://github.com/GraphicsProgrammingKnights/gpkwebcd gpkweb- Node.js 20+ (LTS recommended)
- npm
Set up Node.js version (using nvm)
Use the following commands to ensure you are using Node.js 20 specified in .nvmrc
nvm install # Install
nvm use # Switch to versionnpm installnpm run devnpm run lintnpm run build
npm run start-
mainis protected and always stable. -
Create branches from
main:git checkout -b <branch-type>/<short-description>
Examples:
feature/about-sectionfix/mobile-view-bugchore/docker-setup
-
Open a Pull Request into
main. -
GitHub Actions CI/CD runs and must pass checks.
-
At least 1 teammate review required before merge.
-
Use squash merge to main for clean history.
Follow this commit style (examples provided):
feat: add hero sectionfix: correct navbar mobile layoutchore: update dependenciesdocs: improve setup instructions
.
├── app/ # Next.js routes
├── components/ # Reusable UI components
├── public/ # Static assets
├── styles/ # Global/component styles
├── .github/ # GitHub templates/workflows
│ └── workflows/ # CI/CD pipelines
├── Dockerfile # Production container
├── docker-compose.yml # Local Docker setup
├── .dockerignore # Docker build exclusions
├── tsconfig.json # TypeScript configuration
├── package.json
└── README.md
- Docker installed
- Docker Compose (included with Docker Desktop)
# Build and start the container
docker compose up --build
# Run in background
docker compose up -d --build
# Stop the container
docker compose down# Build the image
docker build -t gpkweb .
# Run the container
docker run -p 3000:3000 gpkweb| Command | Description |
|---|---|
docker compose build |
Only Build |
docker compose up --build |
Build and start |
docker compose up -d |
Start in background |
docker compose down |
Stop containers |
docker compose logs -f |
View logs |
docker compose ps |
List running containers |
GitHub Actions workflows run automatically:
| Workflow | Trigger | What it does |
|---|---|---|
| CI | PRs and pushes to main |
Runs lint and build |
| Docker Build | PRs/pushes affecting app code or Docker files | Verifies Docker image builds |
View workflow runs: Actions tab
This project is licensed under the MIT License - see the LICENSE file for details.
