Installing Galasa offline
The Galasa isolated.zip file is available from the https://resources.galasa.dev/ site and provides a complete offline distribution of Galasa. Download and extract it to a directory of your choice.
What's included¶
The zip file contains:
- galasactl directory - Binaries for the Galasa CLI tool
- maven directory - Dependencies required for running Galasa tests
- javadoc directory - Javadoc API documentation for Galasa Managers
- docs.tar file - Docker image for running the Galasa website locally (see README.txt for instructions)
- isolated.tar file - Optional Docker image for hosting Galasa artifacts on an internal server
Prerequisites¶
Before installing, ensure you have the required software installed. See the Prerequisites documentation for details.
Installation¶
Step 1: Download and extract¶
- Download the isolated.zip file from https://resources.galasa.dev/
- Extract the contents to a directory of your choice
Step 2: Install the Galasa CLI¶
The galasactl directory contains CLI binaries for different operating systems and architectures:
| Operating system | Architecture | Binary name |
|---|---|---|
| MacOSX | x86_64 | galasactl-darwin-x86_64 |
| MacOSX | arm64 | galasactl-darwin-arm64 |
| Linux | x86_64 | galasactl-linux-x86_64 |
| Linux arm64 | arm64 | galasactl-linux-arm64 |
| zLinux | s390x | galasactl-linux-s390x |
| Windows | x86_64 | galasactl-windows-x86_64.exe |
Choose the appropriate binary for your system and follow the instructions below:
-
Find your machine architecture:
-
Navigate to the
galasactldirectory and rename the appropriate binary togalasactl -
Add the Galasa CLI to your PATH. For example, if you extracted galasactl to
~/tools, add this line to your shell's initialization file (~/.bashrcor~/.zshrc): -
Set execute permission:
-
macOS only: Remove quarantine attribute:
You can now run the Galasa CLI from any directory without specifying the full path.
Optional: Hosting on an internal server¶
If you want to host Galasa artifacts on an internal server for multiple users, you can use the included Docker image. Skip this section if you're only installing Galasa on your local machine.
Prerequisites for Docker hosting¶
- Docker installed with appropriate privileges
- A server accessible to your team
Loading and running the Docker image¶
-
Navigate to the directory containing
isolated.tar -
Load the Docker image:
You should see: Loaded image: ghcr.io/galasa-dev/galasa-isolated:release
-
Run the container (using port 8080 as an example):
-
Access the running container at
http://localhost:8080
Next steps¶
Now that you have installed the Galasa offline distribution, you can use Galasa in the same way as the online version:
- Learn about available commands in the Galasa CLI commands documentation
- Initialize your local environment to set up the necessary file structures
- Start exploring with Galasa SimBank offline