Mongo collection not deploying to meteor.com


#1

New to meteor.

I am working on an application that required the import of a csv file data to a collection. I got the data into my collection and the app works perfectly on my local Mac. When I deployed to meteor.com though the collection did not upload.

I was under the impression that mongo collections were stored in the meteor folder in the project folder?

So how in the world do I get my local collection into my deployed app at meteor.com?

I have been searching for an answer for days so any help is greatly appreciated.


#2

How did you import the data locally? Just do that but on the deployed site.


#3

Had to use the mongoimport binary. Not sure how that would work with deploying to the meteor.com server. I am also trying to deploy to Nitrous.io and have the same issue. I even installed the binary on that machine and tried to run it from their command line but to no avail. Either I need to find a way to import the csv or copy the collection to the remote server.


#4

did you try mongodump on the local and mongorestore on the remote? https://forums.meteor.com/t/how-to-backup-and-restore-db-on-meteor/595/9?u=tomsp