TheEverythingTracker / Backend

MIT License
0 stars 0 forks source link

Build Docker-Image

TheEverythingTracker Backend

Backend for playing video and interactively tracking displayed objects.

Features

How to run

Docker

Prerequisites:

You need Docker installed on your machine. See Docker Docs for installation instructions.

Pull the Frontend Image and run a container:

docker pull ghcr.io/theeverythingtracker/frontend:main 
docker run -it -p 8080:80 --name 'TheEverythingTracker_Frontend' ghcr.io/theeverythingtracker/frontend:main

Pull the Backend Image and run a container:

docker pull ghcr.io/theeverythingtracker/backend:main
docker run -it -p 8000:8000 --name 'TheEverythingTracker_Backend' ghcr.io/theeverythingtracker/backend:main

Connect to the Frontend:

TheEverythingTracker

Without Docker (for development):

See "Set up"

Technology Overview

This application uses the following core dependencies:

Contributing

Guidelines

Set up

  1. If you don't have already: Install Python
  2. This project uses Poetry for dependency-management. If you don't have it: Set up Python Poetry by following these Instructions.
  3. Clone the project
  4. Create a virtual environment and install dependencies into it with poetry install while in the project directory
  5. Run python ./app/main.py
  6. Learn how to set up the Frontend here: TheEverytingTracker/Frontend

Build a new Docker Image

Whenever new Changes are pushed to the "main" branch, a new Docker image will be built by this GitHub Actions Pipeline. You can find the latest Docker image here.