Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 3.3 KB

README.md

File metadata and controls

87 lines (64 loc) · 3.3 KB

CircleCI GitHub Release Date GitHub Tag GitHub branch checks state Codecov branch GitHub code size in bytes GitHub Bugs Code Smells Duplicated Lines (%) Lines of Code Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities

BSS Web File Server

This project aims to help the video upload process. It will create folders for each member and video based on their uuid.

Development

Pre-requisites

  1. Install python (see version in pyproject.toml)
  2. Install poetry
poetry install

Set up commit hooks

pre-commit install

Run server

uvicorn src.bss_web_file_server.main:app

Lint

poetry run isort . --check
poetry run black . --check
poetry run mypy
poetry run pylint src

Apply lint

poetry run isort .
poetry run black .

Run development server

uvicorn src.bss_web_file_server.main:app --reload

Test

poetry run pytest

Build docker image

docker build -t bss_web_file_server .

Run docker compose

docker-compose up