Is it possible to start a new Meteor project using a local instance of regular MongoDB in place of the default minimongo?
If so, how?
The mongodb running with meteor is still the standard mongodb, minimongo is only the client side implementation of this that allows the browser side to make queries to a collection.
Start meteor like this with your terminal as mentioned on the unofficial meteor faq
MONGO_URL=mongodb://localhost:27017/database meteor
EDIT:
You can read about this in projectdir/.meteor/local/build/README
:
This is a Meteor application bundle. It has only one dependency, node.js (with the 'fibers' package). To run the application:
$ npm install [email protected] $ export MONGO_URL='mongodb://user:password@host:port/databasename' $ export ROOT_URL='http://example.com' $ export MAIL_URL='smtp://user:password@mailhost:port/' $ node main.js
Use the PORT environment variable to set the port where the application will listen. The default is 80, but that will require root on most systems.
Find out more about Meteor at meteor.com.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With