Fixed bug causing db only to be initialized in environment "local".
Merge pull request #3 from dmarell/master

Fixed bug causing db only to be initialized in environment "local".