- A simple app may only need one configuration file: config.py.
- Instance folders can help us hide secret configuration values.
- Instance folders can be used to alter an application's configuration for a specific environment.
- We should use environment variables and
app.config.from_envvar()
for more complicated environment-based configurations.