Open mohierf opened 7 years ago
@mohierf
I think something like: settings.json.sample and uwsgi.ini.sample (or example if you prefer) will be more understandable.
If the user discovers alignak, he will need to know if the file is an INI file or a JSON file.
When upgrading the backend with the
pip install alignak-backend --upgrade
the former configuration is replaced with the default shipped configuration.This is the drawbacks of pip distributing this application :/
Perharps we should ship settings.dist and uwsgi.dist to be renamed by the end user as settings.json and uwsgi.ini ... this will avoid deleting a real configuration when upgrading