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.

Could I deploy on Local PC?

See original GitHub issue

I tried to deploy on My Local PC

module.exports = {
  servers: {
    one: {
      // TODO: set host address, username, and authentication method
      host: '192.168.0.114',
      username: 'root',
      // pem: './path/to/pem'
      // password: 'server-password'
      // or neither for authenticate from ssh-agent
    }
  },

  app: {
    // TODO: change app name and path
    name: 'element',
    path: '../',

    servers: {
      one: {},
    },

    buildOptions: {
      serverOnly: true,
    },

    env: {
      // TODO: Change to your app's url
      // If you are using ssl, it needs to start with https://
      ROOT_URL: 'http://192.168.0.114',
      MONGO_URL: 'mongodb://localhost/element',
    },

    // ssl: { // (optional)
    //   // Enables let's encrypt (optional)
    //   autogenerate: {
    //     email: 'email.address@domain.com',
    //     // comma separated list of domains
    //     domains: 'website.com,www.website.com'
    //   }
    // },

    docker: {
      // change to 'abernix/meteord:base' if your app is using Meteor 1.4 - 1.5
      image: 'abernix/meteord:node-8.4.0-base',
    },

    // Show progress bar while uploading bundle to server
    // You might need to disable it on CI servers
    enableUploadProgressBar: true
  },

  mongo: {
    version: '3.4.1',
    servers: {
      one: {}
    }
  }
};

Get error

mup setup
----------
Started TaskList: Setup Docker
[192.168.0.114] - Setup Docker
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED 192.168.0.114:22
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1085:14)
```
Please help me!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zapktocommented, Jan 8, 2018

Do sudo visudo and replace %sudo ALL=(ALL:ALL) ALL

By %sudo ALL=(ALL:ALL) NOPASSWD:ALL

0reactions
thearabbitcommented, Jan 9, 2018

Very thanks, I work fine 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

First look at deployment in Visual Studio - Microsoft Learn
Deploy to a local folder; Publish to Azure; Publish to the web or deploy to a network share; Create an installer package (Windows...
Read more >
What is the best practice for deploying to my local dev machine?
Thanks for getting in touch! The sort answer is Yes. The long answer is you will need to employ something like Octopack with...
Read more >
How to Reimage a PC Remotely Using the Cloud - YouTube
Your browser can 't play this video. ... Subscribe to our YouTube channel and for more SmartDeploy, follow our social accounts and our ......
Read more >
Use the CodeDeploy agent to validate a deployment package ...
You do not need to create an application and deployment group. If you want to deploy content stored on the local instance, you...
Read more >
Local Deployment | Airbyte Documentation
Enable Hyper-V Windows Features; Install required Windows components for WSL 2\ when prompted. After installation, it will require to reboot your computer. 3....
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