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
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,10 @@ It is a typical NodeJS project layout.
96
96
97
97
`npm start`
98
98
99
+
>Initially, the browser might pop up asking if you would allow it to detect your location. A 'Allow' will enable GPS pinpoint weather report. A 'Block' will disable GPS for current and subsequent session.
100
+
101
+

102
+
99
103
<br />
100
104
101
105
@@ -111,22 +115,27 @@ The Docker container is built and saved to current working directory. Replace t
=> => naming to docker.io/marknre/techrolemiweatherapp:2.00.0s
138
+
```
130
139
131
140
**List the image**
132
141
@@ -147,11 +156,11 @@ A docker image built with this `git-tag`:`Phase1-Extened-Weather-Forecasts` is a
147
156
148
157
### Run docker
149
158
150
-
Notice that environment variables (secret keys) required to run the app is not being included in the Dockerfile. These secret keys will be stated with the container. eg. ` ... -e WEATHER_VISUALCROSSING_API_KEY=XXXXX -e WEATHERBIT_KEY=XXXXXXX`
159
+
Notice that environment variables (secret keys) required to run the app is not being included in the Dockerfile. These secret keys will be stated with the container. eg. ` ... -e WEATHERBIT_KEY=XXXXXXX`
151
160
152
161
Notice also that Dockerfile exposes port 8080. This needs to be forwarded to a port on your local machine. i.e. `LOCAL_PORT:CONTAINER_PORT` for example *4321:8080*
153
162
154
-
`docker run -p 4321:8080 bb89b0646be4 -e WEATHER_VISUALCROSSING_API_KEY=Actual_Secret_Key_for_VisualCrossing -e WEATHERBIT_KEY=Actual_Secret_Key_for_Weatherbit`
163
+
`docker run -p 4321:8080 bb89b0646be4 -e WEATHERBIT_KEY=Actual_Secret_Key_for_Weatherbit`
0 commit comments