Source Control
Cloning official RAD Lab repository
-
Download the content to your local machine. Alternatively, you can check it out directly into Google Cloud Shell by clicking the button below.
tipYou will need to follow these steps to set up a GitHub Personal Access Token with repo scope.
noteIf you are using Windows OS make sure to deploy from
Command Prompt and Run as Administrator
. -
Decompress the download:
unzip rad-lab-main.zip
-
You will need CURL & BASH. These come pre-installed in most linux terminals.
Installing Terraform
/ Python
/ gcloud
libraries
-
Navigate to the
radlab-launcher
folder:cd ./rad-lab-main/radlab-launcher
-
Run a script to install the prerequisites:
python3 installer_prereq.py
NOTE: Currently the deployment is supported for
Python 3.7.3
and above.This will install:
- Terraform binary by downloading a pre-compiled binary or compiling it from source.
- A Python module which provides a wrapper of Terraform command line tool.
- Google API Python client library for Google's discovery based APIs.
-
Verify the Terraform installation by running:
terraform -help
This should produce instructions on running
terraform
. If you get acommand not found
message, there was an error in the installation.