From 8b07e583f3dfd0103dd5ecbf7e782c2f9578eb8e Mon Sep 17 00:00:00 2001 From: VanshikaSabharwal Date: Tue, 24 Feb 2026 13:53:51 +0530 Subject: [PATCH 1/3] updated the docs --- Installing-Oppia-(Linux;-Python-3).md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Installing-Oppia-(Linux;-Python-3).md b/Installing-Oppia-(Linux;-Python-3).md index 04a60d2f..33fba66b 100644 --- a/Installing-Oppia-(Linux;-Python-3).md +++ b/Installing-Oppia-(Linux;-Python-3).md @@ -167,7 +167,11 @@ exec "$SHELL" > [!WARNING] > Be careful with using graphical editors like Notepad in Windows. These can add carriage returns (`\r`) that confuse our Linux-based development tools. Instead, we recommend using editors designed for programming or command-line text editors. -7. Add new file called `.direnvrc` into your home (`~`) folder with this content: +7. Add new file called `.direnvrc` into your home (`~`) directory (also called your user’s root folder, e.g., `/home/your-username/`). You can also use the tilde (`~`) shorthand to refer to this directory in commands. To verify that you are in the correct directory, you can run: +```bash +pwd +``` +This should print the path to your home directory. Then add the following content to `.direnvrc`: ```bash use_python() { local python_root=$(pyenv root)/versions/$1 @@ -184,8 +188,7 @@ exec "$SHELL" > [!WARNING] > Be careful with using graphical editors like Notepad in Windows. These can add carriage returns (`\r`) that confuse our Linux-based development tools. Instead, we recommend using editors designed for programming or command-line text editors. -8. Create a virtual environment for oppia by adding file named `.envrc` into the parent folder of the oppia repository - with this content: +8. Create a virtual environment for oppia by adding file named `.envrc` into the root folder containing the oppia repository with this content: ```console use python 3.10.16 From fe214cbf08b1ca122f24bfb7b40821b56db98a30 Mon Sep 17 00:00:00 2001 From: VanshikaSabharwal Date: Fri, 27 Feb 2026 18:51:46 +0530 Subject: [PATCH 2/3] updated with suggestion --- Installing-Oppia-(Linux;-Python-3).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installing-Oppia-(Linux;-Python-3).md b/Installing-Oppia-(Linux;-Python-3).md index 33fba66b..9be1f43d 100644 --- a/Installing-Oppia-(Linux;-Python-3).md +++ b/Installing-Oppia-(Linux;-Python-3).md @@ -188,7 +188,7 @@ This should print the path to your home directory. Then add the following conten > [!WARNING] > Be careful with using graphical editors like Notepad in Windows. These can add carriage returns (`\r`) that confuse our Linux-based development tools. Instead, we recommend using editors designed for programming or command-line text editors. -8. Create a virtual environment for oppia by adding file named `.envrc` into the root folder containing the oppia repository with this content: +8. Create a virtual environment for oppia by adding file named `.envrc` into the oppia root folder. with this content: ```console use python 3.10.16 From 405c7af84fa9713bcecbab6f0c279ca442efd88b Mon Sep 17 00:00:00 2001 From: VanshikaSabharwal Date: Fri, 27 Feb 2026 18:51:58 +0530 Subject: [PATCH 3/3] updated with suggestion --- Installing-Oppia-(Linux;-Python-3).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installing-Oppia-(Linux;-Python-3).md b/Installing-Oppia-(Linux;-Python-3).md index 9be1f43d..bd33bba0 100644 --- a/Installing-Oppia-(Linux;-Python-3).md +++ b/Installing-Oppia-(Linux;-Python-3).md @@ -188,7 +188,7 @@ This should print the path to your home directory. Then add the following conten > [!WARNING] > Be careful with using graphical editors like Notepad in Windows. These can add carriage returns (`\r`) that confuse our Linux-based development tools. Instead, we recommend using editors designed for programming or command-line text editors. -8. Create a virtual environment for oppia by adding file named `.envrc` into the oppia root folder. with this content: +8. Create a virtual environment for oppia by adding file named `.envrc` into the oppia root folder with this content: ```console use python 3.10.16