Skip to content

anticoders/nebula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nebula

A tool for deploying meteor apps.

installation

Start by installing on your development machine:

npm install -g meteor-nebula

Then install it on your server:

sudo curl https://gist.githubusercontent.com/apendua/46bcbfb403a8bb5b2ce5/raw/install-nebula.sh | sh

configuration

An example config file may look like this:

{
  "host": "192.168.33.10",
  "port": 22,
  "user": "nebula",
  "pass": "secret",
  "apps": {
    "app1": {
      "git" : "https://github.com/anticoders/impact-demo-generic.git",
      "env" : {
        "METEOR_SETTINGS" : {
          "public": {}
        },
        "MONGO_URL" : "mongodb://localhost:27017/app1",
        "ROOT_URL"  : "http://localhost:8080"
      },
      "domain": "localhost"
    },
    "app2": {
      "git" : "https://github.com/anticoders/impact-demo-generic.git",
      "env" : {
        "FAKE"      : 1,
        "MONGO_URL" : "mongodb://localhost:27017/app2",
        "ROOT_URL"  : "http://127.0.0.1:8080"
      },
      "domain": "127.0.0.1"
    }
  }
}

save it to nebula.json and run nebula deploy in the same directory.

nebula deploy [config]

The required config does not exist yet. Let's create one.

Config name: Host name: Username: Password: Save creds? [Y/n]:

nebula create [name]

Creates a new configuration file.

nebula update [name]

Update source code and create meteor bundle based on the data provided in the corresponding configuration file.

nebula deploy [name]

Deploy application based on the provided assets.

About

Deploy several meteorites at once

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published