Skip to content

Commit 98df219

Browse files
committed
update buttons
1 parent f77cc21 commit 98df219

File tree

1 file changed

+31
-22
lines changed

1 file changed

+31
-22
lines changed

README.md

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# MongoLearnPod
22
An education GitPod module intended to teach individuals how to use mongo on any machine.
3+
4+
A possible unit as of the
5+
36
Here we are applying the idea of [GhostPlate](https://github.com/HansUXdev/GhostPlate) built on GitPod to education instead of Industry at scale ...
47

5-
# How to use?:
6-
See that button?
7-
Click it with your right index finger and wait.
8-
If you use any other finger I will bite it off.
9-
[![Open in Gitpod](http://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/gitpod-io/gitpod-status)
8+
# Read and Code Along!
9+
Assuming you are logged into github, then just click the button below. Phone, Tablet, Mac, Windows, Linux, Chromebook, as long as GitPod runs, you can learn how to code, anywhere!
1010

11+
<p align="center">
12+
<a href="https://gitpod.io/#https://github.com/HansUXdev/MongoLearnPodt"><img src="http://gitpod.io/button/open-in-gitpod.svg" alt="Open on GitPod" height="50px"/></a>
13+
</p>
1114

1215
Then follow the directions inside the GitPod. Don't worry its still better than Microsoft documentation...
1316

@@ -24,7 +27,7 @@ Today we'll be learning how to use Docker Compose to learn MongoDB.
2427

2528
## Unit Learning Objective
2629
Students should be to:
27-
1. Use Docker Compose to start and stop mongoDB environment
30+
1. Use GitPod to startup a mongoDB environment.
2831
2. Use docker exec to access the mongoDB Shell
2932
3. Distinguish between the name of a docker image (mongo) and the container name (learn-mongo)
3033
4. Use NPM Scripts to store docker commands such as docker exec for mongo shell
@@ -76,25 +79,31 @@ This is a brief mongo tutorial in GitPod and originally built for docker and doc
7679
If we open mongo-express, we should see a new database appeared. We can also use the terminal command `show dbs` to display them in terminal.
7780

7881
[![](mongo-express02.png)]()
79-
[![](mongo-express03.png)]()
80-
[![](mongo-express04.png)]()
81-
8282

83-
## Using NPM Scripts
84-
# Package.json is used to demostrate NPM Scripts for use with docker
85-
Students should be able to:
86-
* Identify the package.json file and the script section
87-
* Modify the package.json file to add the docker command
88-
```
89-
"mongo": "docker exec -it learn-mongo mongo",
90-
```
91-
* Distinguish between the name of the docker image (mongo) and the container name (learn-mongo)
83+
# Conclusion
9284

93-
* Demonstrate Mongo Terminal Commands
94-
1. Running with docker compose
95-
- ```docker exec -it learn-mongo mongo```
9685

97-
# Conclusion
9886
## Key learnings
87+
9988
## Tips and advice
89+
90+
91+
1. [w3-Resource](https://www.w3resource.com/mongodb/databases-documents-collections.php#:~:text=A%20collection%20is%20analogous%20to,are%20not%20same%20in%20structure.&text=In%20a%20relational%20database%20like,formula%20defining%20structure%20of%20data)
92+
93+
2. Try the [freecodecamp lesson](https://www.freecodecamp.org/news/learn-mongodb-a4ce205e7739/)
94+
95+
96+
10097
## Final thoughts and next steps
98+
99+
1. Try this out with the local docker version.
100+
101+
102+
## Open Source Book Candidate
103+
This a standalone educational module unit. If you like it and want to see more on this topic, give it a stars. If there is enough interest in it, I'll add it too [JavaScript-First](https://github.com/HansUXdev/JavaScript-First) is an open source book that teaches people how to code with JavaScript using the node.js runtime environment rather than a browser and by the end, you will build a server and a website using JavaScript.
104+
105+
<p align="center">
106+
<a href="https://github.com/HansUXdev/JavaScript-First">
107+
<img src="https://raw.githubusercontent.com/HansUXdev/JavaScript-First/2acf5840c15af96602aceb66303ea69c5b75e344/logo.svg" style="max-width:50%;" height="200px" alt="JavaScript Logo"/>
108+
</a>
109+
</p>

0 commit comments

Comments
 (0)