arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 395 forks source link

Confused about how mup works #298

Open ghost opened 9 years ago

ghost commented 9 years ago

Let's say I develop Meteor apps on my Mac, and want to deploy on a Debian VPS. Am I supposed to run mup init/setup/deploy on the VPS? Or on my Mac? It sounds like it runs on my desktop machine, and uses ssh/scp to bundle and copy my app to the VPS. But then how does it actually run the Node.js web server on the VPS and keep it running 24/7?

arunoda commented 9 years ago

It runs on your Linux of Mac Desktop. Try to use ubuntu. Check this screencast for more: https://www.youtube.com/watch?v=WLGdXtZMmiI

ghost commented 9 years ago

Ah I think I see. So I install it on my Mac using npm install -g mup and it deploys my Meteor app to an Ubuntu or Debian server.

allpratik commented 9 years ago

I did installed mup using npm install -g mup . But when I use mup init just nothing happens? I don't why? It does not creates any file.

jimmy1993k commented 9 years ago

Just read the documentation, it is explained quite clearly. You use mup init and it creates a mup.json where you can put all your server settings for your application, and a settings.json, which is to be used by your meteor application. Then you type mup setup to setup your server, installing NodeJS, MongoDB and PhantomJS if you so wish for it. And last but not least you type mup deploy which will build the application on your desktop, upload it to your VPS and start it with upstart, upstart is also responsible for keeping it running 24/7.

kaushik1979 commented 9 years ago

I have the same problem. I am trying to deploy my app from EC2 Ubuntu machine - x86_64. When I do mup init, nothing happens. No files created. I tried the same with mupx and the same result.