Using hosted mongo db while development


#1

Please suggest me how can I use the mongodb in a different server while developing my app in localhost.
I can not find any place to give mongodb url. There is an option of giving url while packaging, but nothing is there while development, it is always taking its default local database.

Thank you


#2

In your terminal, before meteor, run:

export MONGO_URL=mongodb://yourmongourl


#3

Thank you very much it worked.