generated from PoCInnovation/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add: updated README and added setup and init mongoddb steps
- Loading branch information
Showing
16 changed files
with
545 additions
and
359 deletions.
There are no files selected for viewing
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Need to install mongosh | ||
|
||
```sh | ||
docker exec -it my-database mongosh | ||
``` | ||
|
||
Show the actual dbs: | ||
```sh | ||
show dbs | ||
``` | ||
|
||
Tip if you want to clear you screen like the "clear" command in linux, you can use: | ||
```sh | ||
cls | ||
``` | ||
|
||
|
||
Use your db or create a new db: | ||
```sh | ||
use <name_of_your_db> | ||
``` | ||
If you want to create a collection in your actual db: | ||
```sh | ||
db.createCollection("producers") | ||
``` |
Oops, something went wrong.