Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.36 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.36 KB

dt-collect-web-client

Getting Started

Setting up your enviroment

Starting a new project

Get the latest version of the project

  • git fetch upstream
  • git checkout master
  • git pull upstream master
  • Create a new branch starting from that newly updated main branch, and link it to your GitHub fork.
  • git checkout -b MyNewIssue
  • git push --set-upstream origin MyNewIssue
  • Make your changes, commit them, and push them to your fork make changes
  • git commit -a
  • write a good commit message
  • git push

Rebasing your branch

When there have been changes in the main repository that you want to get, the cleanest option is often to rebase your branch on top of the latest commits.

  • Get the latest commits and update your local master branch
  • git fetch upstream
  • git checkout master
  • git pull upstream master
  • Rebase your in-progress feature branch
  • git checkout MyInProgressFeature
  • git rebase master
  • git push -f

Install packages

  • Run npm install or yarn install

Run the poject

  • Run npm run start or yarn start

Front-end

The UI is built with react-bootstrap (Docs: https://5c507d49471426000887a6a7--react-bootstrap.netlify.com/components/forms/)