This is a cheatsheet on deploying a Meteor app to a base Linux server using Meteor Up. I'm currently using Digital Ocean but it could be any Linux server.
sudo npm install -g mup
mup init
Here's an example:
{
"servers": [// Server authentication info
{
"host": "myhost.domain",
"username": "root"
//"password": "mypass"
//"pem": "~/.ssh/id_rsa"
}
],
"setupMongo": true,
"setupNode": true,
"nodeVersion": "0.10.40",
"setupPhantom" true,
"enableUploadProgressBar": true,
"appName": "sdnet", // appName no spaces
"app": ".",
"env": { // Configure environment
"PORT": "8084",
"ROOT_URL": "http://myhost.domain"
},
"deployCheckWaitTime": 15
}
mup setup
mup deploy