Reputation: 61
Working on a project where I need to connect my meteor project to a remote MongoDB server from windows. Where do I set the environment variable(MONGO_URL="DB LINK") on windows?
I have already done it from OSX from the terminal setting the environment variable MONGO_URL="Mongo DB Link" meteor. But can't seem to do it on windows.
Thanks in advance
Upvotes: 0
Views: 330
Reputation: 9
Open a Commandline Interface in Windows and type following command
C:\ SET MONGO_URL=mongodb://user:password@host:port/dbname
This works for me
Upvotes: 0