Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
neelabalan committed Jan 23, 2021
1 parent 146271b commit dc76f6d
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# [MongoDB Sample Databases](https://docs.atlas.mongodb.com/sample-data/available-sample-datasets/)
# [MongoDB Sample Dataset](https://docs.atlas.mongodb.com/sample-data/available-sample-datasets/)

> this is a duplicate [repo](https://github.com/mcampo2/mongodb-sample-databases)
> the original repo had BSON dump. I removed it and I added a script.sh to import them automatically
> this is a duplicate [repo](https://github.com/mcampo2/mongodb-sample-databases).
> the original repo had BSON dump. I removed it and I added a script.sh to import the JSON docs to respective db
Atlas provides sample data you can load into your Atlas clusters. You can use this data to quickly get started experimenting with data in MongoDB and using tools such as the Atlas Perform CRUD Operations in Atlas and MongoDB Charts.

MongoDB does not provide any sample databases on their website, however, they do provide sample databases for their cloud service Atlas. These databases have been dumped from a MongoDB Atlas cluster using the MongoDB Compass GUI. There are 7 databases, with each database collection (table) stored in a seperate JSON file. These files will accelerate learning of MongoDB's features by allowing new developers to quickly experiment with prepopulated datasets.
MongoDB does not provide any sample databases on their website, However, they do provide sample databases for their cloud service Atlas. These databases have been dumped from a MongoDB Atlas cluster using the MongoDB Compass GUI. There are 7 databases, with each database collection (table) stored in a seperate JSON file. These files will accelerate learning of MongoDB's features by allowing new developers to quickly experiment with prepopulated datasets.


## Sample Datasets
Expand All @@ -20,3 +21,19 @@ MongoDB does not provide any sample databases on their website, however, they do
| [Sample Training Dataset](https://docs.atlas.mongodb.com/sample-data/sample-training/) | Contains MongoDB training services dataset. | companies, grades, inspection, posts, routes, stories, trips, tweets, zips |
| [Sample Weather Dataset](https://docs.atlas.mongodb.com/sample-data/sample-weather/) | Contains detailed weather reports. | data |

## Running in docker

```bash
docker pull mvertes/alpine-mongo

docker run -d --name mongo -p 2717:27017 -v ~/mongodb:data/db mvertes/alpine-mongo

# args
# hostname
# port
./script localhost 2717

# start mongo shell
docker exec -ti mongo mongo
```

0 comments on commit dc76f6d

Please sign in to comment.