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
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,11 @@ Hans McMurdy is an experianced web developer and coding teacher.
36
36
This is a brief mongo tutorial in GitPod and originally built for docker and docker compose which you can see [here](https://github.com/HansUXdev/OSS-Books/tree/master/JavaScript-First/00-JavaScript-DataBases/mongo).
37
37
38
38
## Using Mongo Shell to build a database
39
+
Type the following into a NEW terminal: ` mongo`. Because no one in chat wanted to help me run it in headless mode (thanks, support :-) ).
40
+
39
41
Lets go ahead and create a new *collection* and use it.
40
42
41
-
Type the following into the terminal: `use learnMongo`.
43
+
Type the following into the terminal: `use mongo`.
42
44
43
45
We can then show the database we are using by using the `db` command.
0 commit comments