better to mantain the config that way.
please evaluate ;-)
change the config form way to various files
normalize path fixed
add mocha test
use nodemon from grunt-nodemon
fix build on travis
slugignore to heroku
Great commit. I'm going over it. Thanks!
wow @gabrielmancini that is a great pull request me and @roieki are going over it, and should merge it soon...
Merge from gabrielmanchini - issue #50
Merged - with a little change. For some reason loading with lib/config didn't work out, but the rest is there.
have u try set NODE_PATH=lib ?
why take off my authorship?
With these changes, what's the correct way to link to my mongolab db?
For example, before these changes my config/config.js file looked like
But with the new setup, in config/env/production.json I am having to link to my db directly with something like:
"db": "mongodb://nodejitsu_username:........ etc
Also in the new setup in config/env/all.js I put
db : process.env.MONGOLAB_URI
But I am unsure how to link to that in config/env/production.json . Any suggestions?
My suggestions is,
set all env variables in all.js
and in production.json you strip the properties.
because all.js is a default and the files (develop.json, test.json...) extends all.js properties.
what u think?
That worked perfectly. Thank you