Blame view
server/modules/seed-database.js
391 Bytes
db5aba845
|
1 |
import seed from 'meteor/themeteorchef:seeder'; |
c39994410
|
2 |
|
db5aba845
|
3 4 5 |
let _seedUsers = () => { seed( 'users', { environments: [ 'development', 'staging', 'production' ], |
c39994410
|
6 7 |
data: [{ email: 'admin@admin.com', |
db5aba845
|
8 9 10 11 12 |
password: 'password', profile: { name: { first: 'Carl', last: 'Winslow' } }, roles: [ 'admin' ] |
c39994410
|
13 14 |
}] }); |
db5aba845
|
15 16 17 18 |
}; export default function() { _seedUsers(); |
c39994410
|
19 |
} |