BioBeamerLauncher is a cross-platform launcher for BioBeamer. It fetches a configuration file from a public git repository, determines the correct BioBeamer version to use, and runs BioBeamer with the specified configuration.
- Download the release package (zip or tar.gz) for your platform.
- Extract it to a folder of your choice.
- Windows: Double-click or run
setup.bat. - Linux/macOS: Run
bash setup.shin a terminal.
This will:
- Set up a Python environment using the included
uvtool - Download and install the BioBeamer Launcher from GitHub
- Windows: Double-click or run
start.bat. - Linux/macOS: Run
bash start.shin a terminal.
This will:
- Activate the environment
- Start the BioBeamer Launcher using the default configuration (
config/launcher.ini)
- Git must be installed and available in your system PATH.
- Internet access is required to fetch configuration files and repositories.
- No need to pre-install Python or pip; the setup script will handle this automatically using
uv. - robocopy (Windows) and/or scp/ssh (Linux/Unix) must be installed and available in your system PATH for file transfer operations and integration tests.
- If you want to use scp for remote transfers, you must set up passwordless SSH access (e.g., using SSH keys) to the remote host in advance. The target path in the XML config must be in the format
host:/path(oruser@host:/pathif a username is needed).
To update to the latest version, simply re-run setup.bat or setup.sh.
- The first run may take a few minutes as dependencies are downloaded.
- Make sure you have an internet connection for the initial setup.
- If you encounter issues, check the log files in the
log/directory. - For advanced users, you can activate the environment manually:
- Windows:
call biobeamer-launcher-venv\Scripts\activate.bat - Linux/macOS:
source biobeamer-launcher-venv/bin/activate
- Windows:
- If you need to use a different configuration file, edit
start.shorstart.batand change the path after--config.
If you encounter issues or need to debug BioBeamer problems:
# Get debug information with setup
python -m biobeamer_launcher.launcher --config config/launcher.ini --debugThis command will:
- ✅ Set up the exact BioBeamer environment used in production
- ✅ Print copy-paste ready debugging commands
- ✅ Show IDE configuration paths
- ✅ Provide step-by-step debugging instructions
For detailed debugging instructions, see DEBUGGING.md
If you want to install the launcher and its dependencies manually (e.g., for development):
pip install .To install with optional test dependencies (for running tests):
pip install .[test]To run the test suite, make sure you have installed the test dependencies as above, then run:
pytestOr, to run a specific test file:
pytest tests/test_launcher_real_integration.pyYou can also use unittest if you have tests written for it:
python -m unittest discoverpyproject.toml— Project metadata and dependenciessrc/biobeamer_launcher/launcher.py— Main launcher script
- Clone this repository:
git clone https://github.com/fgcz/BioBeamerLauncher.git cd BioBeamerLauncher - Run the launcher:
python src/biobeamer_launcher/launcher.py
- User runs the launcher
- Launcher fetches config from git
- Launcher ensures correct BioBeamer version is present
- Launcher runs BioBeamer
For more details, see the source code and comments in src/biobeamer_launcher/launcher.py.
See LICENSE file for details.