decobots / python-twitter-bot

0 stars 0 forks source link

Move bot settings (credentials, post frequency, etc.) to database #37

Open livercat opened 6 years ago

livercat commented 6 years ago

Create a Config class that accepts a DB instance. Config values should probably be cached properties on Config.

decobots commented 6 years ago

The preferred method of keeping passwords/api keys secret on heroku is to set config values via the heroku commandline application. https://softwareengineering.stackexchange.com/questions/163506/how-does-one-handle-sensitive-data-when-using-github-and-heroku