Skip to content

Commit c1c1504

Browse files
authored
Update README.md
1 parent 700df26 commit c1c1504

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Simple, that's just this:
2222
>*(edit files all you want and hotdeploy will watch/update for you)*
2323
>
2424
>*set the env var `export DEBUG_INPUT=true` to see the input panel and allow setting high scores*
25+
>
2526
>*set the env var `export API_SERVER_URL=localhost:5000` to hook up to an API server (if you're running one)*
2627
2728
### Deploying from Local Dir to OpenShift
@@ -33,7 +34,9 @@ Containerizing and pushing this app into your OpenShift cluster is easy with the
3334
>*(edit files and rerun `npx nodeshift` and it will update OpenShift for you)*
3435
>
3536
>*add the env config `--build.env DEBUG_INPUT=true` to true to see the input panel and allow setting highscores*
37+
>
3638
>*set the env var `--build.env API_SERVER_URL=http://route_to_api_service:80` to hook up to an API server (note this is the external openshift route not the service name)*
39+
>
3740
>*set the env var `--build-env API_SERVER_WEBSOCKET_URL=ws://route_to_api_service:80` to hook up to an API server (note this is the external openshift route not the service name)*
3841
3942
Expose our app to outside the cluster
@@ -44,7 +47,9 @@ This is also pretty easy with the help of Source 2 Image (aka s2i). Run the foll
4447
>`oc new-app nodeshift/ubi8-s2i-web-app:latest~https://github.com/CodeCafeOpenShiftGame/openshift-highscores-phaser-ui --build-env OUTPUT_DIR=dist`
4548
4649
>*add the env config `--build-env DEBUG_INPUT=true` to true to see the input panel and allow setting highscores*
50+
>
4751
>*set the env var `--build-env API_SERVER_URL=http://route_to_api_service:80` to hook up to an API server (note this is the external openshift route not the service name)*
52+
>
4853
>*set the env var `--build-env API_SERVER_WEBSOCKET_URL=ws://route_to_api_service:80` to hook up to an API server (note this is the external openshift route not the service name)*
4954
5055
Expose our app to outside the cluster

0 commit comments

Comments
 (0)