Skip to content

Using Meteor Up with Nitrous.io

Razzi Abuissa edited this page Jun 22, 2015 · 7 revisions

Using Meteor Up with nitrous.io is almost exactly the same as working on your own machine:

First, go to your Nitrous box (IDE or terminal), and run this:

cat ~/.ssh/id_rsa.pub

This will display the Nitrous SSH public key (not your computer's public key, but the one for the relevant Nitrous box).

Now set up a droplet (e.g. on Digital Ocean) using the SSH public key and call it something like ‘nitrous_my_box’

Now in the mup.json file, include the relevant SSH creds:

{
  //server authentication info
  "servers": [
    {
      "host": "myapp.com",
      // "username": "root",
      // "password": "password"
      // pem file (ssh based authentication):
      "pem": "~/.ssh/id_rsa"
      // For Nitrous, use ports 1024 - 9999:
      "sshOptions": { "port" : 1024 }
    }
  ],
...
}

Finally, be sure to make paths in the mup.json file relative to the root e.g. as follows:

// Location of app (local directory)
"app": "~/workspace/myapp",