Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.14 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.14 KB

swpp2019-team4 Build Status Quality Gate Status Coverage Status

environments

  • Yarn 1.17.3 or above
  • Python 3.6.8
  • pip3 9.0.1

Frontend

run

at root repositiory, type the following commands

  • cd frontend
  • yarn install
  • yarn start

test

at root repository, type the following commands

  • cd frontend
  • yarn install
  • yarn test --coverage --watchAll=false

Backend

run

at root repository, type the following commands

  • cd backend
  • python3 manage.py migrate
  • python3 manage.py runserver

test

at root repository, type the following commands

  • cd backend
  • coverage run --source='./assaapp' manage.py test && coverage report (statement coverage)
  • coverage run --branch --source='./assaapp' manage.py test && coverage report (branch coverage)