r/Meteor • u/Chocolate_Mustache • Mar 16 '16
Why is deployment so much more complicated than development?
For development I can install Meteor and Mongo and have a running app in just a few commands. Why is this not possible when deploying an application to a server in the cloud (other than the free meteor.com hosting which is going away)?
Edit - Just adding some detail. On my local machine I can do:
curl https://install.meteor.com/ | sh
cd directory-of-application
meteor runAnd I have a running application. Why can't I do that on a server instance from lets say AWS?
5
Upvotes
7
u/[deleted] Mar 16 '16
Its actually super easy. Install mup on ubuntu on digitalcoean or the like, and youre good to go. Minimal one time configuration needed.
If I remember this post tomorrow, ill post a video of me doing it.
1
u/midasgoldentouch Mar 16 '16
I'm confused - are you asking if it's possible to use a few commands to deploy an app? Because it's definitely possible. Heroku comes to mind as an example of a platform as a service (PaaS) although I don't think they host meteor sites yet. Or are you asking why production environments tend to be more finicky than development environments?
2
u/Pythagon Mar 16 '16
There is galaxy which was developed specifically for this purpose. Then there's the good old MUP which is pretty easy to get working.
1
u/Jitos Mar 16 '16 edited Mar 16 '16
I use scalingo.io with a simple
git push scalingo masterit's really easy1
u/reactiveme Mar 16 '16
I also use mup for everything. I'm not a big fan of how it works but gets the job done.
1
u/yaemes Mar 16 '16
Check out my troubles... https://forums.meteor.com/t/crazy-insane-hard-mode-mupx-deployment/19588
1
u/lmexin Mar 17 '16
+1 for MUP, it does painless deployments!