tidepool-org / tools

A place to put tooling and scripts that help when working on Tidepool stuff.
Other
11 stars 11 forks source link

Missing METRICS_SERVICE in runservers #8

Open nicolashery opened 10 years ago

nicolashery commented 10 years ago

New seagull requires it. Not sure what it should be for local dev?

$ source tools/runservers
Starting mongod
Starting hakken
Started hakken, pid 19171
Starting user-api
Started user-api, pid 19175
Starting seagull
Started seagull, pid 19179

/Users/nicolashery/Projects/tidepool/seagull/node_modules/amoeba/lib/config.js:22
      throw except.ISE('Must specify environment variable[%s]', name);
                   ^
Error: Must specify environment variable[METRICS_SERVICE]
    at Object.ISE (/Users/nicolashery/Projects/tidepool/seagull/node_modules/amoeba/lib/except.js:24:18)
    at Object.exports.fromEnvironment (/Users/nicolashery/Projects/tidepool/seagull/node_modules/amoeba/lib/config.js:22:20)
    at /Users/nicolashery/Projects/tidepool/seagull/env.js:66:36
    at Object.<anonymous> (/Users/nicolashery/Projects/tidepool/seagull/env.js:97:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
cheddar commented 10 years ago

Point it at highwater

kentquirk commented 10 years ago

I have a change for this that I've been waiting to add until it all worked. Sorry; will submit PR today.