Insert data into remote MongoDB using meteor.js -
i inserting data local mongodb using
test.insert({"name" : "abc"});
so there way insert data remote mongodb using same code i.e. without changing code insert , retrieve remote mongodb.
thanks & regards,
deploy using this:
$ port=3000 mongo_url=mongodb://localhost:27017/myapp node bundle/main.js
http://docs.meteor.com/#deploying , section : running on own infrastructure
Comments
Post a Comment