Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

janky console

  • Loading branch information...
commit bdc52cfa8159978c84c1aef7c69bec07b3ab2682 1 parent 267560e
Gerad Suyderhoud gerad authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 console
7 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);
Please sign in to comment.
Something went wrong with that request. Please try again.