commercetools / commercetools-donut

Store template for subscription based ecommerce business model
Other
11 stars 8 forks source link

Override configuration with environment variables #14

Open lauraluiz opened 9 years ago

lauraluiz commented 9 years ago

The Typesafe Configuration library allows you to override the information set in the configuration file with environment variables or system properties. This is specially useful to easily change the configuration when deploying your project (e.g. to Heroku), so we want every configurable parameter in this project overridden for this purpose.

Notice there's a file within the project that allows to deploy the template to Heroku with just one click, defining the parameters that can be configured before deployment. Don't forget to add all the configurable parameters of the project to this file, so that Heroku is aware of them.

lauraluiz commented 9 years ago

Depends on https://github.com/commercetools/sphere-donut/issues/13