Noobs question on deploying and build app


#1

Hello, i’ve successfully deploy my app on an ubuntu server using kadirah/mup. Now im a bit confused on how to make my apk and link it with my server. I guess i need to use :

meteor build myandroidapkname --server ipofmyserver:port

So here is where i wonder how to be sure of the port use by mup and should i make this meteor build command on my server or i can do it with my local files ?

I’ve tried reading meteor doc about that but there are not too much examples, so i thank u in advance for any inforamtions or link to tutorials or video.

Here is mup.js file is there a place i can add the port ?

module.exports = {
  servers: {
    one: {
      host: '51.255.167.129',
      username: 'myusername',
      password: 'mypassword
      // pem:
      // password:
      // or leave blank for authenticate from ssh-agent
    }
  },

  meteor: {
    name: 'legoutdessaisons.com',
    path: '../',
    servers: {
      one: {}
    },
    buildOptions: {
      serverOnly: true,
    },
    env: {
      ROOT_URL: 'http://www.legoutdessaisons.com',
      MONGO_URL: 'mongodb://localhost/meteor'
    },

    dockerImage: 'abernix/meteord:base',
    deployCheckWaitTime: 60
  },

  mongo: {
    oplog: true,
    port: 27017,
    servers: {
      one: {},
    },
  },
};

Yoann