Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.94 KB

frontend.adoc

File metadata and controls

64 lines (46 loc) · 1.94 KB

Deploy frontend (NodeJS/HTML5/JS)

frontend

Choose one of the following options/approaches to deploy the UI.

Deploy project via oc CLI

Basic project creation
$ git clone https://github.com/redhat-helloworld-msa/frontend
$ cd frontend/
$ oc new-build --binary --name=frontend -l app=frontend
$ npm install; oc start-build frontend --from-dir=. --follow
$ oc new-app frontend -l app=frontend
$ oc expose service frontend