Permalink
Browse files

janky console

  • Loading branch information...
1 parent 267560e commit bdc52cfa8159978c84c1aef7c69bec07b3ab2682 @gerad gerad committed Aug 25, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 console
View
@@ -0,0 +1,7 @@
+#!/usr/bin/env node
+
+require('coffee-script');
+var env = require('./config/env')
+ , repl = require('repl').start();
+
+repl.context.db = require('./models')(env.mongo_url);

0 comments on commit bdc52cf

Please sign in to comment.