Skip to content

Commit c04ce1b

Browse files
MarcGueurykaylienanooshapilli
authored
WMS 12066 - Fix for Windows Laptops (#575)
* OpenSearch - ObjectStorage V1 * Opensearch v2 * v3 * V3 * Image Alternative Texts * V2 * V2 * v4 * V4 * Update manifest.json * additional step * various fixes * various fixes * OCI Starter * OpenSearch New version screen user/password * Update visual_builder.md * 2023-03-18 * 2023-03-18 * 2023-03-18 * 2023-03-21 * APIM * APIM * Update test.md * Update test.md * APIM * APIM * Update test.md * APIM * APIM * APIM * APIM * APIM * APIM * APIM * APIM * APIM * Formatting * Formatting * Numbering * Update intro.md * Lab 2 Task 2 indentation * - * 2023-06-05 * 2023-06-05 * 2023-06-05 * 2023-06-05 * 2023-06-05 * 2023-06-06 * 2023-06-06 * 2023-06-12 * 2023-06-12 * 2023-07-31 * 2023-08-01 * 2023-08-01 * Videos * Video * Update integration.md * Update integration.md * oci-starter-lab v1 * Update intro.md * OCI-Starter V2 * push oci-portal * OCI Starter Lab v1 * QA * . files removed * Removed beta remark. * oci starter - formatting * OCI-Starter * oci-starter bullets * Introduction tag * Green Button (1rst version) * LiveLabs Green Button * Small title change * Instance Pool Lab * Instance Pool * TLS * ARM * ARM * TLS * Database Actions * Database Action v2 * oci-starter 3.2 * Split Public VM / Private VM * fix change in directory * Redwood change * OIC3 + Redwood OIC3 + Redwood * env.sh -> terraform.tfvars * Update public_compute_green.md * Update public_compute_green.md * Vibe-Coding Lab * oci-starter * second generation usecase * Fixomat * Small fixes * Small typos * windows * typos * Feedback --------- Co-authored-by: Kaylien Phan <kaylien.phan@oracle.com> Co-authored-by: Anoosha Pilli <63126232+anooshapilli@users.noreply.github.com>
1 parent 65567e4 commit c04ce1b

4 files changed

Lines changed: 44 additions & 27 deletions

File tree

oci-vibe-lab/0-intro/intro.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
### Objectives
55

6-
In this lab, you will:
7-
* TODO: Add objectives
8-
9-
10-
## Lab Overview
11-
126
This lab introduces a modern, AI development workflow referred to as *Vibe Coding*—a practical approach that blends developer intuition with powerful AI tools to accelerate software delivery, improve code quality, and streamline operations.
137

148
Rather than focusing purely on theory, these labs are hands-on and iterative. You will progressively build, connect, and evolve a full-stack environment using tools like:

oci-vibe-lab/1-laptop/laptop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Estimated time: 45 min
8080
> git clone opc@123.123.123.123:~/app.git app
8181
> cd app
8282
3. Do some changes with your favorite editor.
83-
4. Check what git_push.sh does and run it.
83+
4. Check what git_push.sh does and run it.
8484
> ./git_push.sh
8585
The build will start automatically in the bastion and redeploy the app.
8686

oci-vibe-lab/2-install/install.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,7 @@ Estimated time: 15 min
3131
git clone https://github.com/mgueury/oci-vibe-terraform.git
3232
</copy>
3333
```
34-
7. If you already have an SSH key set up on your laptop, add your public SSH key to the script settings. This allows your laptop to log in to the VM that Terraform creates.
35-
36-
In terraform.tfvars:
37-
```
38-
<copy>
39-
your_public_ssh_key="ssh-rsa ABBCDEFGHIJL....."
40-
</copy>
41-
```
42-
43-
If not, you can also comment this line. Terraform will create an SSH key (in target/ssh\_key\_starter) that you will later configure on your laptop.
44-
45-
8. Run each of the two commands below in the Terminal. This will run Terraform to create the rest of the components.
34+
7. Run each of the two commands below in the Terminal. This will run Terraform to create the rest of the components.
4635
```
4736
<copy>
4837
cd oci-vibe/starter/
@@ -53,13 +42,19 @@ Estimated time: 15 min
5342
Answer the questions about
5443
- Prefix (ex: vibe)
5544
- Compartment OCID (See your notes)
56-
- Public IP Filter. The setup will have an Internet gateway with port 80/443 open to the internet. What is the IP Range of the machine who can access these ports:
45+
- Public IP Filter: The setup will have an Internet gateway with port 80/443 open to the internet. What is the IP Range of the machine who can access these ports:
5746
1. All the machines on the internet -> 0.0.0.0/0
58-
2. Just my laptop (recommended)
47+
2. Just my laptop (recommended). To get your laptop IP, use, by example, https://whatismyipaddress.com or https://ifconfig.me
5948
3. Other (your own IP range)
49+
- Your Public SSH Key:
50+
- If you already have an SSH key set up on your laptop, this allows your laptop to log in to the VM that Terraform creates.
51+
- Such Public SSK Key looks this, "ssh-rsa ABBCDEFGHIJL....."
52+
- If not, the setup will create an SSH key (in target/ssh\_key\_starter) that you will later configure on your laptop.
53+
54+
The answer of the questions will be stored in the terraform configuration file: oci-vibe/starter/terraform.tfvars
6055
61-
9. **Please proceed to the [next lab](#next) while Terraform is running.**
62-
10. When Terraform finishes, you will see settings that you need in the next lab. Save these to your text file. It will look something like:
56+
8. **Please proceed to the [next lab](#next) while Terraform is running.**
57+
9. When Terraform finishes, you will see settings that you need in the next lab. Save these to your text file. It will look something like:
6358
6459
```
6560
<copy>

oci-vibe-lab/3-langgraph/langgraph.md

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,37 @@ During the installation, a Git repository was created on a virtual machine. We w
3232
- NEW: Vibe Coding Lab
3333
![Small Change](images/small-change1.png)
3434
6. Open the Visual Studio Code terminal.
35-
7. Run:
35+
7. Check what the file *git_push.sh* does.
3636
```
37-
<copy>
38-
./git_push.sh
39-
</copy>
37+
cat git_push.sh
38+
39+
#!/usr/bin/env bash
40+
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
41+
cd $SCRIPT_DIR
42+
43+
git --no-pager diff
44+
git add .
45+
DATE_POSTFIX=`date '+%Y%m%d-%H%M%S'`
46+
git commit -m "Bastion Build $DATE_POSTFIX"
47+
git push origin master
4048
```
49+
7. Based on your Laptop Operating System
50+
- If you are in MacOs or Linux, just run it.
51+
```
52+
<copy>
53+
./git_push.sh
54+
</copy>
55+
```
56+
- If you have a windows, there are 2 solutions
57+
- You can start the script as above using the Visual Studio code terminal and a *Bash Terminal*. See Visual Studio Code. Terminal Shells here: https://code.visualstudio.com/docs/terminal/basics
58+
- Or you run git commands from Microsoft Windows PowerShell.
59+
```
60+
<copy>
61+
git add .
62+
git commit -m "cline"
63+
git push origin master
64+
</copy>
65+
```
4166
8. Check the result in your chat URL: http://123.123.123.123/
4267
![Small Change](images/small-change2.png)
4368
@@ -53,6 +78,9 @@ Let's ask Cline to do things for us.
5378
- AGENTS.md for technical documentation for developers and coding agents
5479
</copy>
5580
```
81+
82+
This task could last a long time. Depending of the model, region or Dedicated AI Cluster that you use, the speed / time will vary.
83+
5684
3. Check the output.
5785
5886
![Documentation](images/readme_agents_md.png)

0 commit comments

Comments
 (0)