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
+31-22Lines changed: 31 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,16 @@
1
1
# MongoLearnPod
2
2
An education GitPod module intended to teach individuals how to use mongo on any machine.
3
+
4
+
A possible unit as of the
5
+
3
6
Here we are applying the idea of [GhostPlate](https://github.com/HansUXdev/GhostPlate) built on GitPod to education instead of Industry at scale ...
4
7
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
-
[](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!
10
10
11
+
<palign="center">
12
+
<ahref="https://gitpod.io/#https://github.com/HansUXdev/MongoLearnPodt"><imgsrc="http://gitpod.io/button/open-in-gitpod.svg"alt="Open on GitPod"height="50px"/></a>
13
+
</p>
11
14
12
15
Then follow the directions inside the GitPod. Don't worry its still better than Microsoft documentation...
13
16
@@ -24,7 +27,7 @@ Today we'll be learning how to use Docker Compose to learn MongoDB.
24
27
25
28
## Unit Learning Objective
26
29
Students should be to:
27
-
1. Use Docker Compose to start and stop mongoDB environment
30
+
1. Use GitPod to startup a mongoDB environment.
28
31
2. Use docker exec to access the mongoDB Shell
29
32
3. Distinguish between the name of a docker image (mongo) and the container name (learn-mongo)
30
33
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
76
79
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.
77
80
78
81
[]()
79
-
[]()
80
-
[]()
81
-
82
82
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)
2. Try the [freecodecamp lesson](https://www.freecodecamp.org/news/learn-mongodb-a4ce205e7739/)
94
+
95
+
96
+
100
97
## 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.
0 commit comments