dbSeed.js 301 B

1234
  1. // This would normally be in a grunt task or something similar and ran separately
  2. // when you setup the app, but it makes for a simpler demo app to just run this here.
  3. // We use find_or_create calls so that data doesn't get overwritten if it exists.
  4. require('./app/server/modules/dataSeeds').seed();