Adds an optional development environment variable "FITS_FILENAME" to hyrax.rb config file
Developers who have installed "fits" via homebrew have the fits file stored in their computer as "fits", while developers who have installed "fits" via Harvard have the fits file stored in their computer as "fits.sh". The app defaults to "fits.sh", which causes it to crash when run locally from a "fits" machine. The workaround to this has been to update the hyrax config file to indicate that the path should be "fits" instead of the default "fits.sh".
This PR adds an optional environment variable for "fits" developers, so that they can put FITS_FILENAME in their .env.development.local file to override the app's location of fits.
Developers who had their app working correctly with the "fits.sh" default do not need to put in the new environment variable, and should notice no change in functionality.
Also adds note in README about the FITS_FILENAME variable.
Adds an optional development environment variable "FITS_FILENAME" to hyrax.rb config file
Developers who have installed "fits" via homebrew have the fits file stored in their computer as "fits", while developers who have installed "fits" via Harvard have the fits file stored in their computer as "fits.sh". The app defaults to "fits.sh", which causes it to crash when run locally from a "fits" machine. The workaround to this has been to update the hyrax config file to indicate that the path should be "fits" instead of the default "fits.sh".
This PR adds an optional environment variable for "fits" developers, so that they can put
FITS_FILENAME
in their .env.development.local file to override the app's location of fits.Developers who had their app working correctly with the "fits.sh" default do not need to put in the new environment variable, and should notice no change in functionality.
Also adds note in README about the FITS_FILENAME variable.