ModioAB / caramel

Caramel is a CA Registry Manager
GNU Affero General Public License v3.0
16 stars 5 forks source link

Add databse-URL setting logic #63

Closed teoti001 closed 3 years ago

teoti001 commented 3 years ago

Implementation of the underlying logic to set the URL of the database as a command line argument, environment variable(CARAMEL_DB_URL=/my/url) or the config-file, in that priority. Requested in issue #55

Spindel commented 3 years ago

It looks as if this just adds generic helpers and not the required change to the tools that use it.

Now that the helper is added, I'd like to see the tools updated as well. Otherwise, we're just adding tests and inflating the codebase with unused parts.