Provide Code Support
To setup development environment...
Clone the project:
git clone https://github.com/GalvinGao/penguin-stats-frontend.gitInstall
yarnpkg: Official GuideInstall project dependencies:
yarnFire up the development server:
yarn serveGet your favorite IDE and start developing!
Submit your changes
This project uses commitizen to organize commit messages. In order to utilize such tool, please:
Install
commitizen:yarn global add commitizenTo start working on a feature/issue, use
git checkout -b {branchName}to create a branch and switch to such branch; also, the{branchName}should in the following format:When you are working on a feature, use
feat-{featureName}When you are working on a fix, use
fix-{issueNumber}-{issueSlug}where in{issueSlug}please describe the issue in one or two words
When you finished a feature/fixed a issue, use
git add {file}to add your file into the change list andgit czto commit your changesUse
git push --set-upstream origin {branchName}to push the branch to remote side (GitHub, in this case)Go to https://github.com/penguin-statistics/frontend-v2/pull/new/ to create a Pull Request and wait for reviewers to review your change
Last updated
Was this helpful?