Frontend interface for the RubPuenKaoMai 2023 website.
Please install the following.
-
Clone this repository
git clone https://github.com/isd-sgcu/rpkm66-frontend.git
or download the zip file and extract it.
Note: Make sure you go into the directory after cloning or extracting the zip file.
cd rpkm66-frontend
-
Install dependencies
pnpm install
-
Run the development server
pnpm dev
-
Open localhost:3000 in your browser. Done!
-
Create a new branch
git checkout -b <branch-name> origin/dev
Note: Please copy the branch name from Linear and use it as the branch name.
-
Make your changes
-
Stage and commit your changes
git add . git commit -m "<commit-message>"
Note: Don't forget to use the conventional commit format for your commit message.
-
Push your changes
git push origin <branch-name>
-
Create a pull request to the dev branch in GitHub
-
Wait for the code to be reviewed and merged
-
Repeat
Note: Don't forget to always pull the latest changes from the dev branch before creating a new branch.
git pull origin dev
If you have any questions, please contact us on Slack.
Enjoy! 😋
In short, the commit message should look like this:
git commit -m "feat: <what-you-did>"
# or
git commit -m "fix: <what-you-fixed>"
# or
git commit -m "refactor: <what-you-refactored>"
The commit message should start with one of the following types:
- feat: A new feature
- fix: A bug fix
- refactor: A code change that neither fixes a bug nor adds a feature
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
For more information, please read the conventional commit format documentation.