Exporting sensitive data to Heroku's Environment
This script is ment to work with the node-config package, it will export whatever configuration data you set on the
herokuOverride Object, as a JSON serialized string, onto the
NODE_CONFIG environment variable on Heroku.
This results in the config package to use those values instead, thus enabling you to keep sensitive data out of your tracked files.
- Edit it as per your needs
- Simply invoke using the node interpreter: