If you are using any of our Meteor projects at kadirahq org, you may have noticed that we’ve almost stopped working on those projects.
Yes — I want to make that official. I really lost the interest of working with Meteor, and it’s pretty hard for me to support those projects for newer versions of Meteor.
So I think now MUP is not a best solution for deployment in Meteor.js.
Is it time to switch from MUP to PM2-Meteor?
I’m very sad for lost many good projects like: MUP, FlowRouter, Kadira performance monitor and etc.
I’ve been doing my own deploy tool since i’ve been using ApolloData and other stuff, its not hard to use your own solution. I choose Docker becuase of the isolation it provides between apps.
MUP was a great tool at the begining … each release gave me more troubles. I was a ‘noob’ about DevOPS.
My solution, you have only to paste the folder “deploy” on your project, after that just:
cd project/deploy
meteor npm i
./deploy.sh
And you will have an app running on the port you specified on the script.
My main idea is to keep things very simple… bash + docker + nginx.
Take a look at our deployment solution: https://github.com/ramezrafla/meteor-deployment
It’s meant for production and uses vanilla pm2 with pm2-web. We also have deployment scripts that compile, push the bundle and install it for you.
I’ve just tried PM2-Meteor as well. Compared to Mup, PM2-Meteor is like lightyears behind in terms of ease-of-use.
To setup multiple servers will take a lot of work
I got SSL setup running, you just have to set it up for Nginx (follow guide step 1 here - which means you have to become an Nginx expert as well.
Biggest disadvantage of PM2-Meteor is that you have to setup each server manually before you can deploy to it.
But I think once you have Nginx running, and setup your servers, it is quite powerful. But it requires a lot of devops.
I got my new SSL setup working using Nginx and Mup. The hardest part was setting up the server with Nginx and the SSL, after that the Mup deploy we easy as usual.
Even still there were a LOT of steps involved! And after it was all said an done my Meteor app starting rebooting constantly! Until I took out changing settings from the Nginx config.