I googled all day, but did not find a solution to change the default database to a meteor for the window system. All conclusions are as follows.
MONGO_URL=mongodb://127.0.0.1:27018/meteor meteor
Gives an error in the window system -
"MONGO_URL" is not recognized as an internal or external command,
Use settings.json as
{ "MONGO_URL":"mongodb://127.0.0.1:27018/meteor" }
and then the meteor --settings ./settings.json
but still he does not select this mango setting. Finally, in my js file
if (Meteor.isServer){ process.env.MONGO_URL="mongodb://127.0.0.1:27018/meteor" }
This does not work either. Any suggestion in this regard would be greatly appreciated.
source share