Skip to content

Lemarais/swpp2020-team11

 
 

Repository files navigation

swpp2020-team11

Build Status Quality Gate Status Coverage Status

environments

  • Yarn 1.17.3 or above
  • Python 3.8.5
  • pip3 20.1.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

dev run

at root repository, type the following commands

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

prod run

at root repository, type the following commands

cd backend
export AWS_SECRET_KEY=<secret_key>
export AWS_SECRET_ACCESS_KEY=<secret_access_key>
export SETTINGS=prod
python3 manage.py migrate
python3 manage.py runserver

test

at root repository, type the following commands

cd backend
coverage run --source='.' manage.py test && coverage report
# statement coverage
coverage run --branch --source='.' manage.py test && coverage report
# branch coverage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 57.0%
  • Python 37.8%
  • C++ 2.0%
  • CSS 1.9%
  • Dockerfile 0.6%
  • HTML 0.5%
  • CMake 0.2%