Some people like to work quietly on a project until it's perfect, while others can't wait to show the world as soon as possible.
If you're the first kind of person and would rather develop locally for now, feel free to skip this chapter. On the other hand, if you'd rather take the time to learn how to deploy your Meteor app online, we've got you covered.
We will be learning how to deploy a Meteor app in few different ways. Feel free to use each of them at any stage of your development process, whether you're working on Microscope or any other Meteor app. Let's get started!
<% note do %>
This is a sidebar chapter. Sidebars take a deeper look at more general Meteor topics independently of the rest of the book.
So if you'd rather go on with building Microscope, you can safely skip it for now and come back to it later.
<% end %>
A fast and easy (and free!) way to deploy your Meteor app is to deploy to Heroku using the Horse buildpack.
See the readme for a step-by-step explanation.
Galaxy is the Meteor Development Group's official hosting platform, and it's built in right into the Meteor command line tool via the meteor deploy
command.
Galaxy doesn't offer a free plan, but it's a great option once you're ready to push your app live.
Note that the Meteor Development Group used to provide a free hosting service (usually referred to as just “Meteor hosting”) but as of March 2016, that free tier sadly doesn't exist anymore.
Finally, if you'd rather deploy on your own servers, MupX is a handy Docker deploy script that will set up and deploy your app on any Digital Ocean, AWS, etc. box.
These three ways of deploying Meteor apps should be enough for most use cases. Of course, we know some of you would prefer to be in complete control and set up their Meteor server from scratch. But that's a topic for another day… or maybe another book!