Skip to content

SwaggerTagger/octo-tagger-frontend

Repository files navigation

octo-tagger-frontend

This repository contains the Frontend for the yolo tagger project, an infrastructure built around the amazing darknet yolo project. Check it out at gruppe7.testsites.info.

Technologies

This Frontend is using the following (notable) technologies:

Deployment

Nginx

This repository contains a Dockerfile, as well as a NGINX configuration, that builds an SSL-Enabled Docker container that serves this project as static HTML and provides a reverse proxy connection to the Backend. You can use push.sh at the root of the repository to push modifications of the frontend to our Container Registry.

(re-)deploying to Kubernetes

Together with tagger-kubernetes, here's how you deploy the frontend to your cluster using one shell command:

alias deploy-webeng-frontend="npm run build && ./push.sh && kubectl delete -f ../webeng-tagger/30_frontend-deploy.yml && kubectl create -f ../webeng-tagger/30_frontend-deploy.yml"

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report