You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -6,9 +8,20 @@ import Screenshot from "@site/src/components/Screenshot";
6
8
In this lab, we will be using Jupyter Notebooks, which is an interactive Python environment. If you are new to Jupyter Notebooks, use <ahref="./jupyter-notebooks">this</a> guide to familiarize yourself with the environment.
7
9
:::
8
10
9
-
## Option 1: GitHub Codespaces
11
+
You have a few different options to run this lab. **Our preferred platform is Instruqt**.
10
12
11
-
You will be working in GitHub Codespaces throughout this lab. A codespace is a cloud-hosted, containerized development environment that comes pre-configured with all the tools you need to run this lab.
13
+
If for some reason, you are unable to access the lab through Instruqt, try GitHub Codespaces. If neither of these work, or if you really, really, really want a local installation, only then run the lab locally.
A codespace, much like Instruqt, is a cloud-hosted development environment from GitHub, that comes pre-configured with all the tools you need to run this lab.
12
25
13
26
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.
14
27
@@ -18,9 +31,9 @@ Let it run for a few seconds as it prepares a Docker container with all the requ
18
31
19
32
### Connect to the MongoDB cluster
20
33
21
-
Once the environment is built, you will be prompted to connect to the MongoDB cluster via MongoDB's VSCode extension. This will allow you to visualize the data that we will import into the cluster later in the lab, directly from the VSCode IDE.
34
+
Later in the lab, we will import data into the MongoDB cluster that you can view directly from the VSCode IDE. But first, you will need to connect to the cluster.
22
35
23
-
To connect to the cluster, click the leaf icon in the left navigation bar of the IDE.
36
+
To do this, click the leaf icon in the left navigation bar of the IDE.
@@ -54,11 +67,9 @@ In the modal that appears, click **Python environments...** and select the inter
54
67
55
68
That's it! You're ready for the lab!
56
69
57
-
## Option 2: Run locally
70
+
</TabItem>
58
71
59
-
:::caution
60
-
During the lab, we will use GitHub Codespaces. These instructions are here just in case you can't use Codespaces or if you really, really, really want a local installation.
61
-
:::
72
+
<TabItemvalue="Run locally"label="Run locally">
62
73
63
74
To run the lab locally, follow the steps below:
64
75
@@ -96,4 +107,8 @@ jupyter notebook
96
107
97
108
* In the browser tab that pops up, open the file named `vector-search-lab.ipynb`.
0 commit comments