Skip to content

Commit 73909ee

Browse files
author
Joe Alves
committed
Removed seed task from gulpfile
1 parent 37fe9b7 commit 73909ee

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

generated/gulpfile.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -96,27 +96,6 @@ gulp.task('buildCSS', function () {
9696
.pipe(gulp.dest('./public'));
9797
});
9898

99-
gulp.task('seedDB', function () {
100-
101-
var users = [
102-
{ email: '[email protected]', password: 'testing123' },
103-
{ email: '[email protected]', password: 'rainbowkicks' },
104-
{ email: '[email protected]', password: 'potus' }
105-
];
106-
107-
var dbConnected = require('./server/db');
108-
109-
return dbConnected.then(function () {
110-
var User = require('mongoose').model('User');
111-
return User.create(users);
112-
}).then(function () {
113-
process.kill(0);
114-
}).catch(function (err) {
115-
console.error(err);
116-
});
117-
118-
});
119-
12099
// Production tasks
121100
// --------------------------------------------------------------
122101

0 commit comments

Comments
 (0)