Skip to content

swsnu/swppfall2022-team16

Repository files navigation

Build Status

Quality Gate Status

Coverage Status

swppfall2022-team16

How to run the application

Backend

$ cd backend
$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver

Frontend

$ cd frontend
$ yarn install
$ yarn start

How to test the application

Backend

$ cd backend
$ coverage run --source='./bridgeUS' manage.py test
$ coverage report -m

Frontend

$ cd frontend
$ yarn test --coverage --watchAll=false

deploy - backend

docker run --rm -it \
    --ipc=host \
    --name "practice11" \
    -v ${PWD}:/home \
    snuspl/swpp:practice11 \
/bin/bash

source django-env/bin/activate

sudo docker build -t backend .

sudo docker run -d -p 8000:8000 --rm  --name "backend" backend:latest


sudo docker build -t frontend .

sudo docker run -d -p 3000:3000 --rm --name "frontend" frontend:latest

test frontend

sudo docker run -it -p 3000:3000 --rm --name "frontend" frontend:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •