You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ Simple, that's just this:
22
22
>*(edit files all you want and hotdeploy will watch/update for you)*
23
23
>
24
24
>*set the env var `export DEBUG_INPUT=true` to see the input panel and allow setting high scores*
25
+
>
25
26
>*set the env var `export API_SERVER_URL=localhost:5000` to hook up to an API server (if you're running one)*
26
27
27
28
### Deploying from Local Dir to OpenShift
@@ -33,7 +34,9 @@ Containerizing and pushing this app into your OpenShift cluster is easy with the
33
34
>*(edit files and rerun `npx nodeshift` and it will update OpenShift for you)*
34
35
>
35
36
>*add the env config `--build.env DEBUG_INPUT=true` to true to see the input panel and allow setting highscores*
37
+
>
36
38
>*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
+
>
37
40
>*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)*
38
41
39
42
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
>*add the env config `--build-env DEBUG_INPUT=true` to true to see the input panel and allow setting highscores*
50
+
>
47
51
>*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
+
>
48
53
>*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)*
0 commit comments