Skip to content

Commit d346f57

Browse files
committed
refactor(heroku): change instructions for creating mongoDB after deploying to heroku
Change instructions to use method "heroku addons:create" instead of deprecated "heroku addons:add" for adding MongoDB after deploying to heroku. Suggest useing free mongoLab DB instead of charged mongoHQ (now called Compose MongoDB). BREAKING CHANGE: Change console output after deploying process is finished: Before: 'heroku addons:add mongohq' After: 'heroku addons:create mongolab' Closes angular-fullstack#1222
1 parent fd6bfe9 commit d346f57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: heroku/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Generator.prototype.gitForcePush = function gitForcePush() {
158158
var hasWarning = false;
159159

160160
if(this.filters.mongoose) {
161-
this.log(chalk.yellow('\nBecause you\'re using mongoose, you must add mongoDB to your heroku app.\n\t' + 'from `/dist`: ' + chalk.bold('heroku addons:add mongohq') + '\n'));
161+
this.log(chalk.yellow('\nBecause you\'re using mongoose, you must add mongoDB to your heroku app.\n\t' + 'from `/dist`: ' + chalk.bold('heroku addons:create mongolab') + '\n'));
162162
hasWarning = true;
163163
}
164164

0 commit comments

Comments
 (0)