Welcome to TripSit's Main Website, brought to you by THC.
This is a Next.js project bootstrapped with create-next-app.
You have two options:
The easiest way to get going is to create a codespace.
This will automatically set up a development environment for you, and you can start editing the code right away.
- Create a codespace from the repo.
- Run
npm installto make sure the dependencies are installed (this has been needed in the past). - Run
npm run devto start the development server. - GitHub will offer a link to the running site, where you can see your changes.
- Develop and commit as normal; your changes are reloaded automatically.
The preferred way to have full control (and perhaps more resources) is local development.
- Clone the repo.
- Install dependencies with
npm install.
Warning
Windows users may have to adjust dependencies locally. If you have problems, try installing Node through NVM (for example with winget).
Then you have two choices:
The preferred way to deploy is with Docker. This ensures that we're running on the same system with no conflicts.
- Run
npm run websiteto build the Docker image. - Run
npm run logsto see the logs from the container. - Open http://localhost:3000 in your browser to see the result.
If you can't run Docker for whatever reason, or you're in a codespace:
- Run
npm run dev. - Open http://localhost:3000 in your browser to see the result.
Warning
This method isn't supported. Try a codespace before using it.
It has worked on an Ubuntu VPS, and on Windows as of 2/1/2025. If it fails on Windows, try WSL before NVM.
npm run build makes a production build, and npm start serves it.
The full combination chart, translations, and PNG/PDF generation are documented in docs/combo-chart.md.
See CONTRIBUTING.md for branching conventions (feature branches target uat, not main) and
the checks that run in CI.