Permalink
Browse files

[minor] Updates to copy

  • Loading branch information...
Marak committed Oct 31, 2011
1 parent 17a0cd9 commit c62b3114932129fc8eade9e3db2c42580c9e3ec6
Showing with 12 additions and 5 deletions.
  1. +2 −2 lib/jitsu/commands/install.js
  2. +8 −1 lib/jitsu/commands/users.js
  3. +2 −2 lib/jitsu/properties.js
@@ -118,7 +118,7 @@ var install = module.exports = function (starterName, callback) {
function createApp(results, cb) {
if (Object.keys(nodeapps).indexOf(results['starter']) === -1) {
- winston.error('Sorry, ' + results['starter'].magenta + ' is not a starter app.');
+ winston.error('Sorry, ' + results['starter'].magenta + ' is not a node app.');
return cb('err');
}
installApp(results['starter'], function (err, res) {
@@ -194,5 +194,5 @@ var install = module.exports = function (starterName, callback) {
install.usage = [
'jitsu install - helps you create a new server.js to use on Nodejitsu.',
- 'jitsu install [node app name] - specifies the starter app you want to use.'
+ 'jitsu install [node app name] - specifies the node app you want to use.'
];
@@ -45,11 +45,18 @@ users.create = function (username, callback) {
jitsu.prompt.get(['password', 'confirm password'], function (err, result) {
if (result['password'] === result['confirm password'] && result['password'] !== '') {
password = result.password;
+
+ // Account being created
jitsu.users.create({
username: username,
email: email,
password: password
- }, callback);
+ }, function(err, result){
+
+ // message about signing up, message about activation
+ callback(err, result);
+
+ });
}
else {
if (result['password'] === "") {
View
@@ -29,7 +29,7 @@ properties.properties = {
},
askstarter: {
name: 'askstarter',
- message: 'Would you like to use a starter app? (recommended)',
+ message: 'Would you like to use a node app? (recommended)',
default: 'yes'
},
appname: {
@@ -48,7 +48,7 @@ properties.properties = {
},
starter: {
name: 'starter',
- message: 'Which starter app would you like to use?',
+ message: 'Which node app would you like to use?',
default: 'helloworld'
},
proceed: {

0 comments on commit c62b311

Please sign in to comment.