I have an app running fine on my localhost server. I deployed the app using MeteorUp on an ubuntu server. The app is loading login page but not letting user login. I’ve used “useraccounts:bootstrap” package. Login attempt throws error: Login forbidden.
Assuming you don’t want all your users to re-register, you can use the mongodump utility on your localhost to get a file, which you can then use mongorestore on your production database. Check the mongodb docs for more detail.
Not that in order to use mongodump on your localhost, you will first need to install mongo - the Meteor dev bundle doesn’t include the utilities. Then you will need to start your app on localhost, to get a running mongod. Assuming you use OSX/Linux and a running on port 3000:
meteor run &
# wait until running, then:
mongodump --host localhost --port 3001 --db meteor --out /path/to/backup/file
The mongod port is alway 1 higher than the port you run the dev app on. Once you have the file, you can restore it to your new production database - that process follows the docs.