David answers in the right direction, but has thrown me a little. Instead, we do this to launch the first application as usual:
$ meteor
Then, to launch the second application and connect to the database of the first, we do:
$ MONGO_URL="mongodb://localhost:3001/meteor" meteor --port 3002
The key point here is that the meteorite launches its own instance of mango on port 3001 , and we can connect to it directly from the second instance of the meteor. David's answer uses your mongo system for both applications.
chmac
source share