Skip to content

Commit 9dd052e

Browse files
committed
fix descriptions
1 parent 2b68942 commit 9dd052e

File tree

3 files changed

+26
-9
lines changed

3 files changed

+26
-9
lines changed

Diff for: 00-Docker-Databases/mongo/package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
"main": "index.js",
66
"scripts": {
77
"start": "node Browse.js && docker-compose up -d",
8-
"mongo": "docker exec -it mongo mongo",
9-
"list-containers": "docker ps",
10-
"remove": "docker rm -f $(docker ps -a -q)",
11-
"docker-stop": "docker stop $(docker ps -aq)"
8+
"mongo": "docker exec -it learn-mongo mongo",
9+
"docker-stop": "docker stop $(docker ps -aq)",
10+
"remove": "docker rm -f $(docker ps -a -q)"
1211
},
1312
"keywords": [],
1413
"author": "",

Diff for: 00-Docker-Databases/mongo/readme.md

+19-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,26 @@
22
Students should be to:
33
1. Use Docker Compose to start and stop mongoDB environment
44
2. Use Docker, Terminal & MongoExpress to teach basic mongoDB concepts
5+
3. Distinguish between the name of a docker image (mongo) and the container name (learn-mongo)
6+
4. Use NPM Scripts to store docker commands
7+
8+
59

610
# Todo List
711
- [ ] MongoDB Exercises
8-
- [ ] Publish Tutorial
12+
- [ ] Publish Tutorial (this readme file)
913
- [ ] Slides
10-
- [ ] Resources
14+
- [ ] Resources
15+
16+
# Package.json is used to demostrate NPM Scripts for use with docker
17+
Students should be able to:
18+
* Identify the following line in the package.json file
19+
```
20+
"mongo": "docker exec -it learn-mongo mongo",
21+
```
22+
* Distinguish between the name of the docker image (mongo) and the container name (learn-mongo)
23+
24+
# Demonstrate Mongo Terminal Commands
25+
1. Running with docker compose
26+
- ```docker exec -it learn-mongo mongo```
27+
2.

Diff for: 00-Docker-Databases/readme.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ Students should be to:
88
4. Compare and contrast Docker & Docker Compose
99
5. Use Docker Compose to learn mongoDB and MySQL
1010

11-
## Sections
12-
1. MongoDB
13-
2. MySQL
11+
## Lessons
12+
1. Docker Commands
13+
2. MongoDB
14+
3. MySQL
1415

1516

1617
## Projects

0 commit comments

Comments
 (0)