Running with Apache
To run the loacldb viewer with an apache server, I ran into the following issues:
- The
db_server_install.sh
script when executed as root will perform a local install, here a system wide install is needed. This requires the installation of the packages separately - The python path for wsgi does not seem to be able to point to devtoolset python install (required to have python >3.7). This can be set in the http config like this:
WSGIPythonPath /opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages
- the
itkdb
creates temporary files, by default the viewer application current directory is/
and it will not have write access. The default working directory can be changed in theWSGIDaemonProcess
withhome=/tmp