You can use MONGO_URL
env variable to tell meteor to connect to your instance of mongodb. Great.
For instance:
MONGO_URL=mongodb://localhost:27017/my_project meteor
works. I see the new documents in my robomongo on localhost in a database named my_project
.
But if I do:
MONGO_URL=mongodb://localhost:27017/my_project meteor reset
, the database my_project
stays unchanged. meteor reset
ing works when I use the meteor-provided mongodb (when I don't supply MONGO_URL
).
Things I tried:
EXPORT
ingMONGO_URL
instead of putting it in front of the command. Doesn't help.
Also to what mongo instance do meteor connects to if I just run meteor
(the default one) ? I can't find any meteor database on my localhost