One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| If: | |
| - you add and commit with the wrong email address in git, and | |
| - your remote has a hook set up to prevent you from pushing with the bad address | |
| Then you need to amend the author of your commit before push can succeed: | |
| 1. fix your email address in git config: | |
| $ git config user.name "Your Name" |
| # 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 | |
| # -h = host, -d = database name (app domain), -p = password, meteor = the path to the dumped db folder name | |
| mongorestore -u client -h production-db-a2.meteor.io.meteor.com:27017 -d myapp_meteor_com -p 'password' meteor/ |