diff --git a/03-Azure/01-04-AI/07_Fraud_Intelligence/challenges/challenge-01.md b/03-Azure/01-04-AI/07_Fraud_Intelligence/challenges/challenge-01.md index 1ab3918b0..1e3f6133b 100644 --- a/03-Azure/01-04-AI/07_Fraud_Intelligence/challenges/challenge-01.md +++ b/03-Azure/01-04-AI/07_Fraud_Intelligence/challenges/challenge-01.md @@ -70,6 +70,10 @@ For **Dev container configuration**, select **Azure / AI / Fraud Intelligence**, GitHub opens the Codespace in a new browser tab. Wait for the container setup to finish, then confirm that the repository files are visible in the Explorer and that the integrated terminal opens without errors. +> Important: When the Codespace finishes setting up, you are asked to open the full repository, select **Never**. + +![Never open full repository prompt in GitHub Codespace](/challenges/images/never-open-full-repository.png) + You should have a terminal ready to use, otherwise open a terminal in the Codespace (Terminal > New Terminal). Then run the following command to verify that Azure CLI is installed: ```bash @@ -116,6 +120,12 @@ cat hackenv source hackenv ``` +Finally, prepare the walkthrough scripts so that your Codespace user can run them in the remaining challenges: + +```bash +bash "$walkthroughHome/challenge-01/prepare-scripts.sh" +``` + ## 🚀 Go Further Review the [solution architecture](../README.md#architecture) and identify where each deployed Azure resource is used in the five build challenges. diff --git a/03-Azure/01-04-AI/07_Fraud_Intelligence/challenges/images/never-open-full-repository.png b/03-Azure/01-04-AI/07_Fraud_Intelligence/challenges/images/never-open-full-repository.png new file mode 100644 index 000000000..fe7e23b36 Binary files /dev/null and b/03-Azure/01-04-AI/07_Fraud_Intelligence/challenges/images/never-open-full-repository.png differ diff --git a/03-Azure/01-04-AI/07_Fraud_Intelligence/walkthrough/challenge-01/prepare-scripts.sh b/03-Azure/01-04-AI/07_Fraud_Intelligence/walkthrough/challenge-01/prepare-scripts.sh new file mode 100644 index 000000000..503561db2 --- /dev/null +++ b/03-Azure/01-04-AI/07_Fraud_Intelligence/walkthrough/challenge-01/prepare-scripts.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -euo pipefail + +WALKTHROUGH_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)" + +find "$WALKTHROUGH_DIR" -type f -name '*.sh' -exec chmod u+x {} + + +echo "Shell scripts under $WALKTHROUGH_DIR are ready to run." \ No newline at end of file diff --git a/03-Azure/01-04-AI/07_Fraud_Intelligence/walkthrough/challenge-01/solution-01.md b/03-Azure/01-04-AI/07_Fraud_Intelligence/walkthrough/challenge-01/solution-01.md index 82c729c89..3d9655b49 100644 --- a/03-Azure/01-04-AI/07_Fraud_Intelligence/walkthrough/challenge-01/solution-01.md +++ b/03-Azure/01-04-AI/07_Fraud_Intelligence/walkthrough/challenge-01/solution-01.md @@ -70,6 +70,10 @@ For **Dev container configuration**, select **Azure / AI / Fraud Intelligence**, GitHub opens the Codespace in a new browser tab. Wait for the container setup to finish, then confirm that the repository files are visible in the Explorer and that the integrated terminal opens without errors. +> Important: When the Codespace finishes setting up, you are asked to open the full repository, select **Never**. + +![Never open full repository prompt in GitHub Codespace](/challenges/images/never-open-full-repository.png) + You should have a terminal ready to use, otherwise open a terminal in the Codespace (Terminal > New Terminal). Then run the following command to verify that Azure CLI is installed: ```bash @@ -116,6 +120,12 @@ cat hackenv source hackenv ``` +Finally, prepare the walkthrough scripts so that your Codespace user can run them in the remaining challenges: + +```bash +bash "$walkthroughHome/challenge-01/prepare-scripts.sh" +``` + ## 🚀 Go Further Review the [solution architecture](../README.md#architecture) and identify where each deployed Azure resource is used in the five build challenges.