Skip to content

Commit 58cf0cd

Browse files
author
ajosh0504
committed
Updating screenshots
1 parent c1e6048 commit 58cf0cd

File tree

7 files changed

+17
-11
lines changed

7 files changed

+17
-11
lines changed

docs/20-dev-env/1-dev-env-setup.mdx

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You will be working in GitHub Codespaces throughout this lab. A codespace is a c
2424

2525
Navigate to [this](https://github.com/codespaces/new/mongodb-developer/genai-devday-notebooks?quickstart=1) link. You will be prompted to sign into GitHub if you haven't already. Once signed in, click the **Create new codespace** button to create a new codespace.
2626

27-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/3-create-codespace.png" alt="Start a codespace" />
27+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/3-create-codespace.png" alt="Start a codespace" />
2828

2929
Let it run for a few seconds as it prepares a Docker container with all the required libraries and a MongoDB cluster.
3030

@@ -34,37 +34,43 @@ Once the environment is built, you will be prompted to connect to the MongoDB cl
3434

3535
To connect to the cluster, click the **Connect** button.
3636

37-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/4-click-connect.png" alt="Click Connect" />
37+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/4-click-connect.png" alt="Click Connect" />
3838

39-
In the modal that appears at the top of the screen, enter the string `mongodb://admin:mongodb@mongodb:27017/` and hit `Enter` on your keyboard.
39+
In the modal that appears at the top of the screen, copy and paste the following string, and hit **Enter** on your keyboard:
4040

41-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/5-enter-connection-string.png" alt="Enter connection string" />
41+
<div>
42+
```
43+
mongodb://admin:mongodb@mongodb:27017/
44+
```
45+
</div>
46+
47+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/5-enter-connection-string.png" alt="Enter connection string" />
4248

4349
If the connection was successful, you should see **Connected to: mongodb:27017** with a green indicator.
4450

45-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/6-connection-successful.png" alt="Connection successful" />
51+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/6-connection-successful.png" alt="Connection successful" />
4652

4753
You can view the default and any additional collections we create on the cluster during the lab by clicking the leaf icon in the left navigation bar of the IDE.
4854

49-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/7-view-collections.png" alt="View collections" />
55+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/7-view-collections.png" alt="View collections" />
5056

5157
### Jupyter Notebook setup
5258

5359
You will be filling code in a Jupyter Notebook during this lab, so let's get set up with that next!
5460

5561
Click on the files icon in the left navigation bar. In the Explorer menu, under `notebooks`, click on the file named `ai-rag-lab.ipynb` to open the Jupyter Notebook for this lab.
5662

57-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/2-nav-notebook.png" alt="Navigate to the notebook" />
63+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/8-nav-notebook.png" alt="Navigate to the notebook" />
5864

5965
Next, select the Python interpreter by clicking **Select Kernel** at the top right of the IDE.
6066

61-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/8-select-kernel.png" alt="Select kernel" />
67+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/9-select-kernel.png" alt="Select kernel" />
6268

6369
In the modal that appears, click **Python environments...** and select the interpreter that is marked as **Recommended** or **Global Env**.
6470

65-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/9-python-env-modal.png" alt="Select Python Environments" />
71+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/10-python-env-modal.png" alt="Select Python Environments" />
6672

67-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/2-dev-env-setup/10-select-recommended.png" alt="Select recommended interpreter" />
73+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/11-select-recommended.png" alt="Select recommended interpreter" />
6874

6975
That's it! You're ready for the lab!
7076

@@ -110,4 +116,4 @@ jupyter notebook
110116

111117
* In the browser tab that pops up, open the file named `ai-rag-lab.ipynb`.
112118

113-
<Screenshot url="localhost:8888/tree" src="img/screenshots/20-dev-env/2-dev-env-setup/11-jupyter-notebook.png" alt="Jupyter Notebook" />
119+
<Screenshot url="localhost:8888/tree" src="img/screenshots/20-dev-env/1-dev-env-setup/12-jupyter-notebook.png" alt="Jupyter Notebook" />
Loading
Loading

0 commit comments

Comments
 (0)