Re: [nodejs] database initialization pattern?

2012-05-29 Thread Alan Gutierrez
On Tue, May 29, 2012 at 10:40:04AM -0700, deitch wrote: > When I launch my app in test or dev, it runs a database initializer, > based on config file, that cleans out the db entirely, loads the > properties, loads the seed data. Works fine. > > Looking for a pattern for similar in production. > >

Re: [nodejs] database initialization pattern?

2012-05-29 Thread Ben Kelly
On Tue, May 29, 2012 at 1:40 PM, deitch wrote: > a) Is there anything like "rake db:migrate" from Rails for node? > One of my coworkers wrote a migration lib for node: https://github.com/nearinfinity/node-db-migrate Hope that helps. Ben -- Job Board: http://jobs.nodejs.org/ Posting guidel

[nodejs] database initialization pattern?

2012-05-29 Thread deitch
When I launch my app in test or dev, it runs a database initializer, based on config file, that cleans out the db entirely, loads the properties, loads the seed data. Works fine. Looking for a pattern for similar in production. a) Is there anything like "rake db:migrate" from Rails for node? b) W