olddigger / digger

Simple databases for web designers
http://digger.io
MIT License
1 stars 1 forks source link

Digger build should use ENV for keys rather than live in digger.yaml #17

Open binocarlos opened 10 years ago

binocarlos commented 10 years ago

I've committed a mortal sin and the API keys and other sensitive data for an app is right there with the rest of the config in digger.yaml - BAD

Also - it means I can put diggerdubs (the private repo) into digger.io so the whole website is open source

So - digger build should have an option for an ENV file and the digger.yaml should reference the ENV:

Currently:

myprivatething: BAD

Should be:

myprivatething: {{ ENV['DIGGER_MY_PRIVATE_THING'] }}