Closed algorys closed 6 years ago
Configuration files can now be located in different directories. But environment variables need to be reviewed.
app_dir
creation in Settings()
classMaybe we can locate
the bin/alignak_app.py
to get app_dir
value ?
Done.
If we want in future install App as a root user (as in #222), configuration files place should be reviewed for Linux. Not only in
$HOME/alignak_app
folder but also in/usr/local/alignak_app
for Debian like and adding other folder for other distributions.The app_workdir should be also review maybe with an environment variable, called "APPWORKDIR" in every system.
CSS and images should also follow the same changes to ensure that all files are located inside app_workdir.