I’m trying to connect my development app to a remote mongodb at mongolabs. I have tried to change the environment settings in the settings.json
file to:
"env": {
"MONGO_URL": "mongodb://xxxxx:xxxxxx@xxxx.mongolab.com:xxxx/xxxx"
}
and to:
"env": {
"export MONGO_URL": "mongodb://xxxxx:xxxxxx@xxxx.mongolab.com:xxxx/xxxx"
}
I have also tried these two above commands in the terminal, which gives me a error of 'export' is not recognized as an internal or external command, operable program or batch file.
or:
'MONGO_URL' is not recognized as an internal or external command,
operable program or batch file.
Where else can the environment
variables be changed to connect to the remote DB?