nbrabant / rpi-inventory

3 stars 3 forks source link

feature : Application configuration #8

Closed nbrabant closed 2 years ago

nbrabant commented 3 years ago

For now, to configure the application, the user must have access to the .env file

The user should be able to change, for example, the mailer or the Trello API configuration

The basic configuration keys are :

TRELLO_KEY TRELLO_TOKEN TRELLO_SECRET TRELLO_REDIRECT_URI TRELLO_BOARD TRELLO_LIST

  1. Create the repository to show and persist config in any .conf file
  2. Create the configuration entry on menubar and the show and store config controller. The config loading doesn't take all the config, but just a few ones.
  3. Create the view and load config per prefixes