reset password
Author Message
JackStrauss
Posts: 236
Posted 22:58 Nov 23, 2016 |

Download here:https://robomongo.org/download

 

I've downloaded, and installed this application. Managing my mongodbs  is now super easy.

Also makes testing your MEAN stack apps easier.

Download and use it. It will lift some stress off your shoulders when testing your apps.

 

BrianK
Posts: 25
Posted 09:15 Nov 24, 2016 |

Seems helpful. If you don't want to download other software, you could also export your database into a folder in your project using the built-in 'mongodump' function and then push that folder into your git hub, pull on your server, then 'mongorestore' based on that database.

Here's a Stack Overflow link: http://stackoverflow.com/questions/11255630/how-to-export-all-collection-in-mongodb

Here's a tldr:

1. mongodump -d <database_name> -o <directory_backup>

2. Push directory into GitHub.

3. Pull request on your server.

4. mongorestore -d <database_name> <directory_backup>

jbattini
Posts: 49
Posted 10:43 Nov 27, 2016 |

I downloaded robochef and it worked out better for me. http://3t.io/mongochef/ 

I also used the mongodb install instructions on digital ocean https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-16-04 to enable the firewall and allow access to the db so I can connect to the db on the server through robochef through SSH and do bulk edits.

Keep in mind, if you do this you'll have to open up whatever port you run your app on with this command:

sudo ufw allow 8080 (or whatever port you want to open up) 

if you don't open the port you won't be able to access your app