question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Simple Working example of mup.js

See original GitHub issue

I was able to deploy my Meteor app using mupx, but that only works for Meteor 1.3.5. The mupx mup.json file looks to me much easy to understand what it does then the examples found here.

Also always when i try a configuration and i do mup setup or mup deploy, it just opens the mup.json file in a new editor window. Is that supposed to be a warning that i messed something up? I don’t understand many of the options in the mup.js examples found here.

Can someone post a simple example of a working mup.json for a newbie with these details?

  • app location is my windows 10 pc d:/meteor/App
  • the ip of the ubuntu server is x.x.x.x and the port is 80
  • the username of the ubuntu server is root, password is password

Thank you.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

4reactions
rohithbcommented, Sep 29, 2016

@muscaiu try adding

docker: {
      image:'abernix/meteord:base',// !important for meteor 1.4
    },

to meteor section. This image is build using node 4.4. (Source: kadirahq/meteor-up#172 ) My full mup.js file :

module.exports = {
  servers: {
    one: {
      host: '1.2.3.4',
      username: 'root',
      pem: "/absolute/path/to/your/ssh/private/key",
    }
  },

  meteor: {
    name: 'app',
    path: '/absolute/path/to/your/app',
    docker: {
      image:'abernix/meteord:base',// !important for meteor 1.4
    },
    servers: {
      one: {},
    },
    buildOptions: {
      serverOnly: true,
    },
    env: {
      ROOT_URL: 'http://yourapp.com',
      MONGO_URL: 'mongodb://localhost/meteor',
    },
    deployCheckWaitTime: 60 
  },

  mongo: { 
    oplog: true,
    servers: {
      one: {},
    },
  },
};
0reactions
nikonikoCWcommented, Apr 25, 2019

How to set up the port

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploying with Meteor Up (MUP) - Packt Subscription
This method is called Meteor Up (MUP). Using a fairly simple configuration file, MUP vastly simplifies the server deployment process.
Read more >
Documentation - Meteor Up
This will create two files in your Meteor Up project directory: mup.js - Meteor Up configuration file; settings.json - Settings for Meteor's settings...
Read more >
mup - npm
As mup will result in unexpected behavior. This will create two files in your Meteor Up project directory: mup.js - Meteor Up configuration ......
Read more >
Mup.js example with SSL - deployment - Meteor forums
... server and But I haven't been able to get it to work with SSL yet and I'm guessing that I'm doing something...
Read more >
Setup an in-house server using Meteor Up - RadGrad
In order for the mup setup command to work, you must add NOPASSWD to ... Copy mup.sample.js to mup.js and settings.sample.js to settings.js:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found