'I want to make a web based application so I can make changes to raspberry pi service parameter
I Have an application made for raspberry pi and running as a service. "Python App/ Flask"
This application when started looks for a configuration file to start work properly.
what is the best practice way to modify this configuration file?
I was thinking to make another app running along to receive the new configuration as json pair, Key Value match to the configuration file then validate them and save the changes to the hard desk, then restart the service to pick up the new configuration changes.
so [Client]->[server we app]->[configurator service]->[HDD] then restart.
am I on the right way to do, or there is a better way?
============== Option 2 ====================
remote scp copy from PC to raspberry pi, so [configurator service windows app/w validation] --> scp protocol -->[HDD]
============== Option 3 ==================== Make Flask App api endpoint to make HDD access and change the settings but as a web app I think it is not appropriate to expose the configuration api
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
