Skip to content

Instantly share code, notes, and snippets.

@DayOfThePenguin
Created May 12, 2015 16:31
Show Gist options
  • Save DayOfThePenguin/af3365ce7debf73e4fb5 to your computer and use it in GitHub Desktop.
Save DayOfThePenguin/af3365ce7debf73e4fb5 to your computer and use it in GitHub Desktop.
NODE_ENV=development
PATH=bin:node_modules/.bin:/usr/local/bin:/usr/bin:/bin
PORT=50000
SECRET=the-secret-the-annotator-gets-from-the-authorizing-site
CONSUMER=name-of-the-app-on-which-the-annotator-runs
VERSION=1.0
LIVE_DB=mongodb://Colin:pass@192.168.1.5:12345/LIVE_DB
LOCAL_DB=mongodb://localhost/annotationdb
STAGING_DB=mongodb://Colin:pass@192.168.1.5:12345/STAGING_DB
@jamiefolsom
Copy link

OK, so you need a var for DB. LIVE_DB, LOCAL_DB and STAGING_DB are for reference, if you want to switch for any reason; if you look at web.js, it refers to DB. Set that to:

DB= mongodb://localhost/annotationdb

And you should be in business.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment