Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (27 loc) · 1.44 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.44 KB

Bullseye frontend

Overview

This is a frontend side for Bullseye made with React. It relies on backend server.

Prerequisites

For development using Chrome browser:

Installation

$ docker build -t {image name}:{image version} . -f Dockerfile
$ docker run -d -p 80:5000 {image name}:{image version} 

Now it will be running on localhost. You can push a tested version to your Docker repository and test both backend and frontend using docker-compose. In order to push built image run:

$ docker login
$ docker push {image name}:{image version}

Configuration

Due to React reading environmental variables at build time rather than start time there was a necessity to store backend URL in file in order to run on Kubernetes.

You can set backend URL in config file. Default value is http://localhost:8080.

Usage

In order to use and test frontend visit the site where application was deployed and follow instructions on the screen.