amybear/dryve — pull request #1 by robbear (2013-09-24 22:47:08+00:00)
Title: Deployment

Primary work includes:
- Adding Bunyan logging support for JSON-formatted log output. Replaced calls to console.log.
- Added config.js for project configuration values, including targeting localhost for NODE_ENV=development environments, and MongoLab database instance for NODE_ENV=production (which is set on the server).
- Changed the database name from "cars" to "dryvedb"
- Added jitsubuild.sh build script. This takes the MongoLab dryvedb username/password in the command line so our database credentials aren't stored in source code or in GitHub.
- Updated package.json to strip out old stuff and use Nodejitsu deployment hooks.