Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.29 KB

File metadata and controls

29 lines (22 loc) · 1.29 KB

Firelink Frontend

Frontend React SPA for the Firelink project: a web GUI for Bonfire. See the firelink-backend for the other half of this app.

Development Setup

You'll need node installed.

# Install dependencies
$ npm install
# Start the app
$ npm start

The frontend will be served out on localhost:5000

To work on the app you'll need the backend running as well. You will need to clone firelink-backend, run the app, and then run the dev proxy that ensures the frontend and backend can talk to eachother. The firelink-backend README.md contains instructions on how to get up and running.

Building

$ docker build -t firelink-frontend:latest .
$ docker run -p 8000:8000 firelink-frontend:latest

Deploying

We provide an OpenShift template with a Frontend resource in deploy/frontenend.yaml. You can deploy it to any cluster running the Frontend Operator like so:

$ oc process -f deploy/frontend.yaml -p IMAGE="quay.io/rh_ee_addrew/firelink-frontend" -p IMAGE_TAG="86263a4" -p ENV_NAME="env-ephemeral-bqzepn" | oc apply -n ephemeral-bqzepn -f -