Meteor run without creating local Mongo database
Meteor by default creates local mongodb database (projectname/.meteor/local/db) when you run:
$ meteor run
This local database is about 500MB large. If you have 10 Meteor projects, they can take too much disc space. Fortunately, there is a solution for this.
If you have mongodb already installed just run Meteor project with command:
$ MONGO_URL=mongodb://localhost:27017/meteorprojectname meteor run
If you don't want to type this every time you run your project you can create a bash script:
$ echo 'MONGO_URL=mongodb://localhost:27017/meteorprojectname meteor run' > run.sh
And add it run permissions:
$ sudo chmod 777 run.sh
So you can run it:
Now you can delete .meteor/local/db folder in your project. Meteor will save your data in your localhost mongodb.