https://github.com/pmiddend/amarcord-run-bridge
https://github.com/pmiddend/amarcord-run-bridge
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pmiddend/amarcord-run-bridge
- Owner: pmiddend
- Created: 2025-03-13T12:24:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T12:25:38.000Z (about 1 year ago)
- Last Synced: 2025-03-24T04:40:13.562Z (about 1 year ago)
- Language: Python
- Size: 325 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AMARCORD Run Bridge
## Rationale
This process will listen for [Tango](https://www.tango-controls.org/) device servers and start runs in AMARCORD.
## Installation
If you don't want to install [uv](https://docs.astral.sh/uv/) and stick to pip, you need to make sure to install the `amarcord-open` companion library before, and then the requirements themselves:
```bash
pip install amarcord_open
pip install -r requirements.txt
```
## Usage
The main daemon to run is located in `run_bridge/daemon.py` and it receives these command line parameters:
- `--host` is the host to listen on for the web server; for security purposes you might choose `localhost`. If you want the web server available from somewhere else, specify something like `0.0.0.0`
- `--port` is the port the web server listens on
- `--config_save_file` (note the underscores!) is a _file_ where the bridge stores the latest configuration file chosen for the bridge; choose something like `~/bridge-last-save-file.txt`
- `--config_files_dir` (note the underscores!) is the _directory_ where the bridge looks for JSON files as configuration