This HMCC HK's Web Repo built on SailsJS and React
yarn
cd server && yarn
cd ui && yarn
cd server && nodemon ./app.js
cd ui && yarn start
main
main
- Our Production branch. This is what our production server will always be hosting. Hence, this is also the branch that our local development will rebase off and merge into, as it is the most updated.
release
- This is a branch that we will create from main
and bundle our personal features/tasks to. At every end of a project/sprint cycle, this branch will be merged into main
feature
- This is a branch for our own personal features/tasks that we will be working on
hotfix
- This is a branch for hotfixes that will directly be merged into main
regardless of release/sprint cycle
(issueNumber)-(branchName)-description-of-task
(e.g 4-feature-anncmt-rest-api
, release-sermon-notes
)
feature
branch, do not forget to periodically update your local branch with the release
branch to reduce the likelihood/size of merge conflicts
git pull
we use git pull --rebase
to pull changes from the remote branch to our local branch. Rebasing helps to keep our Gitflow neat and linear which makes it easy to keep track of and tracefeature
branch, create a Pull Request and your peers review it before merging.feature
->release
->main
- i.e feature
branches should always Pull Request and merge into release
, and then from release
to main
Jesus' disciples
Engage people who were, are, and will be a part of HMCC-HK, in order to Equip them with resources and Enable the church vision to be lived out.