Built using React and Webpack. Uses Chakra-UI for components.
We recommend using nvm to manage Node.js
versions:
nvm useClone the repository and install dependencies:
git clone https://github.com/uclaacm/icpc-website.git
cd icpc-website
npm installIn icpc-website directory, run
npm run build-devThis will start the development server on http://localhost:12345.
To make changes to the website, follow the steps below:
- 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.
- Create a new branch with
git checkout -b <branch-name>. - Make changes to the code.
- Make sure the website builds with
npm run build-dev. Furthermore confirm that the website can be loaded athttp://localhost:12345. - Create a pull request. The web team will review the changes.
- 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>.