Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nolim1t/node-mongo-with-heroku
How to make node.js mongo library + node.js mongo wrapper play nicely with heroku (the version I'm using anyway)
https://github.com/nolim1t/node-mongo-with-heroku
Last synced: 2 days ago
JSON representation
How to make node.js mongo library + node.js mongo wrapper play nicely with heroku (the version I'm using anyway)
- Host: GitHub
- URL: https://github.com/nolim1t/node-mongo-with-heroku
- Owner: nolim1t
- Created: 2013-06-06T22:14:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-04T00:22:12.000Z (about 9 years ago)
- Last Synced: 2024-04-14T14:30:07.858Z (7 months ago)
- Language: CoffeeScript
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
node-mongo-with-heroku
======================How to make node.js mongo library + node.js mongo wrapper play nicely with heroku (the version I'm using anyway)
How to use
----------------------git submodule add git://github.com/nolim1t/node-mongo-with-heroku.git /app/path/to/submodule
or
git submodule init
git submodule updateHow to use in code
----------------------
The directory before the submodule should be used like this```coffeescript
mongolib = require('./mongo/mongo.coffee')exports.dbhandler = mongolib.dbhandler
exports.ObjectID = mongolib.ObjectID
```