Comparing version 0.1.3 to 0.1.4
var cjson = require('cjson'); | ||
var path = require('path'); | ||
var fs = require('fs'); | ||
var helpers = require('./helpers'); | ||
@@ -33,2 +34,3 @@ require('colors'); | ||
console.error('mup.json file not exists'.red.bold); | ||
helpers.printHelp(); | ||
process.exit(1); | ||
@@ -35,0 +37,0 @@ } |
@@ -11,2 +11,11 @@ var exec = require('child_process').exec; | ||
}); | ||
}; | ||
exports.printHelp = function() { | ||
console.error('\nValid Actions'); | ||
console.error('-------------'); | ||
console.error('init - initialize a Meteor-Up project'); | ||
console.error('setup - setup the server'); | ||
console.error('deploy - deploy app to server'); | ||
console.error('logs [-f -n ] - access logs'); | ||
}; |
@@ -11,3 +11,3 @@ var nodemiral = require('nodemiral'); | ||
//Installation | ||
// Installation | ||
taskList.executeScript('installing node', { | ||
@@ -21,3 +21,12 @@ script: path.resolve(SCRIPT_DIR, 'install-node.sh') | ||
taskList.executeScript('setting up environment', { | ||
script: path.resolve(SCRIPT_DIR, 'setup-env.sh') | ||
}); | ||
if(installMongo) { | ||
taskList.copy('copy /etc/mongodb.conf', { | ||
src: path.resolve(TEMPLATES_DIR, 'mongodb.conf'), | ||
dest: '/etc/mongodb.conf' | ||
}); | ||
taskList.executeScript('installing mongodb', { | ||
@@ -28,6 +37,2 @@ script: path.resolve(SCRIPT_DIR, 'install-mongodb.sh') | ||
taskList.executeScript('setting up environment', { | ||
script: path.resolve(SCRIPT_DIR, 'setup-env.sh') | ||
}); | ||
//Configurations | ||
@@ -34,0 +39,0 @@ taskList.copy('configure upstart', { |
{ | ||
"name": "mup", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Production Quality Meteor Deplouments", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
15250
17
222
0
73