Relative Content

Tag Archive for configuration

Best practice for configuration files in a website

I am creating something similar to a Content Management System, that can be downloaded and used by everyone that needs it. I’ve been working in web-development for a couple of years (mainly as a hobby, i.e. creating personal homepages for acquaintances), but have never had the need of a user to enter his own configurations (let it be database connection, meta-data about his site, desired behaviour of the website).

Best practice for configuration files in a website

I am creating something similar to a Content Management System, that can be downloaded and used by everyone that needs it. I’ve been working in web-development for a couple of years (mainly as a hobby, i.e. creating personal homepages for acquaintances), but have never had the need of a user to enter his own configurations (let it be database connection, meta-data about his site, desired behaviour of the website).

how do you manage api keys?

I have a few projects that use various webservices e.g. DropBox, AWS. For managing private information I use bash_profile which works great with heroku that uses env variables to manages secret informations. The problem is my bash_profile is growing significantly (HEROKU_ADD_ON_1 HEROKU_ADD_ON_2 etc.) and it bit me today.