Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (7 sloc) 0.297 kb
util = require 'util'
mongoose = require 'mongoose'
require('mongoose-types').loadTypes mongoose
require "./#{lib}" for lib in ['invite', 'person', 'deploy', 'team', 'vote']
module.exports = (url) ->
util.log 'connecting to ' + url.cyan
mongoose.connect url, (err) -> throw Error err if err
Jump to Line
Something went wrong with that request. Please try again.