Mossbauer Spectrum Explorer using Flask
www-data or another nonprivileged user should own all the files in a clone of this repo. That user should install dependencies using
pip3 install -r requirements.txtMost config options are set by copying config-sample.yml (which shows default values) to config.yml and uncommenting anything that needs to be changed.
load_mossbauer.py is currently hardcoded to run out of /opt/specx but that’s easily changed in a local copy. Specifically, /opt/specx/data_Moss/ should contain mlogbook.xlsx and a subdirectory data/ with data files in it.
This will be moved to a config option in a future version.
Logging expects the file /var/log/specx to be writable and owned by www-data. This also should be moved to a config option.
The app runs as a systemd service on its default port of 51515 behind a reverse proxy.
data_Moss/ is NFS mounted by the data store to receive nightly updates.
- Replace xlrd with openpyxl
- Make data and logging paths configurable
- Remove dependence on jQuery
- Get the dev environment working and documented