Skip to content

uclaacm/icpc-website

Repository files navigation

ICPC logo

ACM ICPC Website

Contributor Covenant Netlify Status

Official Website for ACM ICPC

Built using React and Webpack. Uses Chakra-UI for components.

Development Setup

Install git and Node.js version 21.6.1.

We recommend using nvm to manage Node.js versions:

$ nvm install 21.6.1
$ nvm use 21.6.1

Clone the repository and install dependencies:

$ git clone https://github.com/uclaacm/icpc-website.git
$ cd icpc-website
$ npm install

In icpc-website directory, run

npm run build-dev

This will start the development server on http://localhost:12345.

Contributing

To make changes to the website, follow the steps below:

  1. Clone the repository by following the instructions in the development setup section. Alternatively, fork this repository and follow the same instructions with the URL of the forked repository.
  2. Create a new branch with git checkout -b <branch-name>.
  3. Make changes to the code.
  4. Make sure the website builds with npm run build-dev. Furthermore confirm that the website can be loaded at http://localhost:12345.
  5. Create a pull request. The web team will review the changes.
  6. The pull request will be merged into main once it passes the code review. You can then delete the branch with git branch --delete <branch-name>.