Giter Site home page Giter Site logo

Comments (6)

arunoda avatar arunoda commented on August 29, 2024

Hi,

I think keeping it separate would be a nice idea. But we can add a link in
mup Readme.

On Sunday, December 29, 2013, n-h wrote:

I used mup for deploying a project, and it worked great!

We wanted to load the same "env" from mup.json when running meteor
locally, since many of the env variables were the same (only changing a
couple of them). I created a bash script that accomplishes this, parsing
out the env variables from mup.json using the "cjson" node module, and
export each var in bash before starting app with "mrt".

I was thinking about publishing the script in npm (to provide a simple way
to use the env properties from mup.json) to run meteor locally. Do you have
a plan to incorporate this sort of functionality in "meteor-up"? If so,
would you prefer a pull request to have it included in "meteor-up"? Or
should I keep it as a separate module and publish it separately?

Thank you,
Nick


Reply to this email directly or view it on GitHubhttps://github.com/zodern/meteor-up/issues/13
.

Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

from meteor-up-legacy.

n-h avatar n-h commented on August 29, 2024

Ok sounds good.
Thank you,
Nick

from meteor-up-legacy.

gvimlann avatar gvimlann commented on August 29, 2024

Hi friends.
I m new to Meteor. I just bought the Meteor Book. I m trying to deploy my application on Digital Ocean.
I m having trouble with the error.
"ssh: Could not resolve hostname hostname: nodename nor servname provided, or not known"

Below is my code.
{
// Server authentication info
"servers": [
{
"host": "FirstProject",
"username": "root",
"password": "password"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
],

// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": true,

// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"setupNode": true,

// WARNING: If nodeVersion omitted will setup 0.10.33 by default. Do not use v, only version number.
"nodeVersion": "0.10.33",

// Install PhantomJS in the server
"setupPhantom": true,

// Application name (No spaces)
"appName": "meteor",

// Location of app (local directory)
"app": "/Users/user/microscope",

// Configure environment
"env": {
"ROOT_URL": "http://myapp.com"
},

// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"deployCheckWaitTime": 15
}

This is my exact code except that I have removed the password.
Is there any changes that I should do?

Thank you very much.

from meteor-up-legacy.

davidrinnan avatar davidrinnan commented on August 29, 2024

"host": "FirstProject",
should be an IP or URL I think.

from meteor-up-legacy.

babnik63 avatar babnik63 commented on August 29, 2024

"host" should be your server ip.
it is better to setup secured ssh connection for better security.
try this 3 steps:
https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh

"servers": [{
"host": "100.100.100.100",
"username": "root",
"password": "pwd",
// or pem file (ssh based authentication)
"pem": "~/.ssh/id_rsa",
"sshOptions": {
"Port": yourportnum
}
}],

On Wed, Jan 7, 2015 at 5:02 PM, David Rinnan [email protected]
wrote:

"host": "FirstProject",
should be an IP or URL I think.


Reply to this email directly or view it on GitHub
zodern/meteor-up#13 (comment).

Sincerely yours
Babak Niknia
Next Generation Solutions Co.
Chief R&D Manager
www.NEGSO.com

from meteor-up-legacy.

jordangarside avatar jordangarside commented on August 29, 2024

Any word on the script to run locally using the env-vars from mup.json and settings from settings.json?

from meteor-up-legacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.