-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up Murfey
Murfey is hosted on PyPI and can be installed into a given Python environment via pip
. Depending on whether Murfey is being installed to be run on the client PC or as a server, you can install the additional needed dependencies by specifying keys:
- Client-side
$ python -m pip install murfey[client]
- Client-side (running an instrument server)
$ python -m pip install murfey[client,instrument-server]
- Server-side
$ python -m pip install murfey[server]
We would recommend using a conda environment or similar rather than the system Python.
The Murfey server must be run in an environment with the following environment variables present:
-
MURFEY_MACHINE_CONFIGURATION
(path to Murfey machine configuration YAML) -
MURFEY_SECURITY_CONFIGURATION
(path to Murfey security configuration YAML) -
ISPYB_CREDENTIALS
(optional, path to ISPyB credentials file)
After v0.16.9, we also provide Dockerfiles that can be used to build and deploy containers for Murfey's client and server components on a Kubernetes cluster. These can be used in tandem with RabbitMQ and PostgreSQL deployments to set up a fully functional Murfey environment on said cluster. A more comprehensive walkthrough of how to build and deploy the Docker images is beyond the scope of this guide at this point.