I tried to export the settings.json file as described in the meteor.js documentation to connect my Meteor.js application to an external MongoHQ database:
{ "env": { "MONGO_URL" : "mongodb://xxx:xxxx@troup.mongohq.com:10037/xxx" } }
with the command:
mrt deploy myapp.meteor.com --settings settings.json
It does not even work, My application continues to connect the local database that comes with Meteor.app! My enGO_URL env variable has not changed.
Is there any solution to export my MONGO_URL env variable to connect an external MongoDB database?
I saw that you can change it when using a hero or module, what about the standard deployment of meteor.com?
Samsy Feb 23 '14 at 16:34 2014-02-23 16:34
source share