Skip to content

YaleComputerSociety/website

Repository files navigation

YCS Website

The Official website for the Yale Computer Society. Built using Next.js with Typescript and Tailwind

Getting Started

Requirements

  • Install Visual Studio Code for the coding environment
  • Install the VSCode extension ESLint for code styling, syntax checking, and finding problems
  • Install Node/npm for managing packages
    • Mac or Linux: Install Node: see here for downloadable installer.
    • Windows: Install nvm, node.js, and npm. Follow Steps 1 - 9 at the link to the left.

Running the Website Locally

npm i  # install dependencies
npm run dev  # run the website on localhost:3000

Deployment

The website is hosted using Vercel. You can log in using the [email protected] account. When you push any code to main, Vercel will automatically apply the new changes and try building the app and deploying it. Because of this, please make sure the website will build correctly BEFORE you push to main.

Locally test a build with:

npm run build # create the build in the .next/ directory
npm run start # run the build locally

After confirming the build runs locally, push your commits to the Github main branch