cd frontend/connectoon
yarn install
yarn start
cd backend/connectoon
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
cd frontend/connectoon
yarn test --coverage --watchAll=false
cd backend/connectoon
coverage run --branch --source="." manage.py test
coverage report
docker build -t frontend .
docker run -p 443:443 -v '/etc/letsencrypt:/etc/letsencrypt' --rm -d --name frontend_container frontend
docker build -t backend .
docker run -it -p 0.0.0.0:8000:8000 --name backend_container backend:latest /bin/bash
uwsgi --wsgi-file connectoon/wsgi.py --http :8000
docker exec -it backend_container /bin/bash # to get into running docker
- go into makeDB folder
- run ./runserver, ./makeDB respectively