Provide Code Support
To setup development environment...
Clone the project:
git clone https://github.com/GalvinGao/penguin-stats-frontend.git
Install
yarnpkg
: Official GuideInstall project dependencies:
yarn
Fire up the development server:
yarn serve
Get 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 commitizen
To 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 cz
to 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?