Skip to content

Instantly share code, notes, and snippets.

View brentjanderson's full-sized avatar

Brent Anderson brentjanderson

View GitHub Profile
# How to upload local db to meteor:
# -h = host, -d = database name, -o = dump folder name
mongodump -h 127.0.0.1:3002 -d meteor -o meteor
# get meteor db url, username, and password
meteor mongo --url myapp.meteor.com
# Response will be something like this:
# mongodb://client:f8f6d5aa-1213-008f-31c8-e9e059515615@production-db-a3.meteor.io:27017/myapp_meteor_com