Within this, there are the following packages, each deploys with its own docker-container.
docker build -t sports-api . docker run -d -p 8000:80 sports-api
docker-compose up --build
Webserver is using SQLAlchemy + Alembic for managing a sqlite-db.
docker-compose up if re-build is needed (new dependencies): docker-compose up --build
Run the local server with: uvicorn main:app --reload API-Documentation: http://127.0.0.1:8000/docs
alembic revision --autogenerate -m "My revision text" alembic upgrade head
Performs job of receiving new data from api's or web scraping and sends it to the webserver
https://stackoverflow.com/questions/64979042/how-to-run-seleniumchrome-on-raspberry-pi-4
https://www.football-data.org/documentation/quickstart
Get Webdriver (from selenium website) with the corresponding version of your browser and unpack it. Copy to /usr/local/bin (for mac at least).
python -m unittest tests/tests_handball.py