Meteor - Deployment

meteor - done reading

The --settings flag
Deploying to our own servers
Meteor Up
Tracking growth

// Meteor - Deployment:

The 3 basic options for deploying our Meteor application:

1. Deploy to the free servers, which the Meteor staff have set up 
2. Deploy it to any server that has NodeJS and MongoDB installed.
    This allows you to deploy your app to any server that you have Terminal access to.
3. Deploy to Galaxy

Deploying to their free servers is easy. All you must do is type:

meteor deploy

This will provision a free hostname and upload our application to run there.  We can 
also use this option with our own custom domain name, such as "," but 
then you'll need to modify your site's DNS settings to point to

Do not use the --production flag for deployment.  The --production flag 
is purely meant to simulate production minification, but does almost nothing else. This 
still watches source code files, exchanges data with package server and does a lot more 
than just running the app, leading to unnecessary computing resource wasting and 
security issues.  Don’t use the @@--@@production flag to deploy!

// To get the MongoDB URL if our application is hosted on

meteor mongo --url

This URL can be used by any MongoDB client such as Robomongo or passed to mongodump.  
The URL expires after 1 minute.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License