Closed prjemian closed 3 years ago
Installation shell script needs to replace these symbols:
symbol | file | meaning |
---|---|---|
CATALOG_NAME |
startup/instrument/framework/initialize.py |
databroker catalog to use on startup |
BEAMLINE_NAME |
startup/instrument/framework/metadata.py |
beam line name, for run metadata |
INSTRUMENT_NAME |
startup/instrument/framework/metadata.py |
instrument name, for run metadata |
INSTRUMENT_NAME |
startup/README.md |
instrument name |
In startup/blueskyStarter.sh
:
IPYTHONDIR
from pwd
as it runsCONDA_ENVIRONMENT
pre-defined by installerLooks easy, peasy for a shell script with sed
.
While configuring for new use at 30-ID, found the current installation procedure for a new
instrument
package needed significant additional configuration.Suggest a refactor, starting from new setup for 30-ID, and adding a bash shell installation script that modifies the required files with the local instrument specifics (instrument name, databroker catalog name, ...).
The revisions can be tested with a new installation at 16-ID this week.