Closed podliashanyk closed 3 months ago
Which is the production config file?
Which is the production config file?
I was referring to the one you use to deploy Howitz in prod. My point was to see which config info you provide when deploying Howitz to production, and check whether README covers all bits of this info
I was referring to the two toml-files included in the source. But no matter, I'll update the readme.
I was referring to the two toml-files included in the source. But no matter, I'll update the readme.
There is no separate example file for prod, nor for dev. howitz.toml.example
is a "generic" extended one.
The "Config file for production"-section must be checked against the actual prod config file in order to find out whether there are gaps in this section that should be filled and/or some variables that should be described.
I have so far found the following gap in the "Config file for production"-section:
[howitz] -> devmode
tofalse
, the app does not run since Flask'slisten
(address) andport
values are not provided. The (separate) "Run in production"-section refers to flask's docs in order to help configuring the flask app. But: one - some info in the "Run in production"- and the "Config file for production"-section belongs together yet it is spread across theREADME
; two - referring to Flask docs does not necessarily help with correctly placing the flask related config values in the Howitz' config file.