Skip to content

Commit 74b944c

Browse files
committed
update README.md
1 parent 362c506 commit 74b944c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ There are weather detection stations situated in and around you. The inner work
1818
1919
<br />
2020

21+
---
2122
## NodeJS and Express
2223

2324
I recently wrote this weather reporting app using the cloud editor `replit` where the bootstraping of node JS is hidden. All I had to do was to focus on the core logic in app.js, style.css, and index.html. To create a fully functional development environment locally, I needed to bootstrap NodeJS, Express to my replit code.
@@ -94,7 +95,7 @@ It is a typical NodeJS project layout.
9495
`npm start`
9596

9697

97-
98+
---
9899
## Build Once, Run Anywhere!
99100

100101
<strong> Generate A Docker Image</strong>
@@ -131,6 +132,15 @@ REPOSITORY TAG IMAGE ID CREATED SIZE
131132
hurricanemark/localweather 1.0 bb89b0646be4 6 minutes ago 949MB
132133
```
133134

135+
---
136+
137+
**On the DockerHub registry**
138+
139+
A docker image built with this `git-tag`:`Phase1-Extened-Weather-Forecasts` is available to the public on the DockerHub registry. You can pull it with the command below:
140+
141+
```docker pull marknre/techrolemiweatherapp:latest```
142+
143+
---
134144
### Run docker
135145

136146
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`

0 commit comments

Comments
 (0)