Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Installing-Oppia-(Linux;-Python-3).md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also specific path ../ or something similar.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is no as such path for this. Can you please specify a path if you have in mind?

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
Expand Down
Loading