Built using React and Webpack. Uses Chakra-UI for components.
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
.
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>
.