A tool for deploying meteor apps.
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
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]:
Creates a new configuration file.
Update source code and create meteor bundle based on the data provided in the corresponding configuration file.
Deploy application based on the provided assets.