Skip to content

Commit feb0bdd

Browse files
Use a virtual enviorment for Ubuntu (#1213)
Signed-off-by: darkexplosiveqwx <[email protected]>
1 parent 833f474 commit feb0bdd

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/.idea
55
/node_modules/
66
/site/
7+
.venv/

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,24 @@ When working on this repo, it is advised that you review your changes locally be
3030

3131
Please make sure you fork the repo and change the clone URL in the example below for your fork:
3232

33-
- Linux Mint / Ubuntu 18.04 LTS / 19.10 / 20.04 LTS:
33+
- Linux Mint / Ubuntu 20.04 LTS / 23.10 and later:
3434
- Preparations (only required once):
3535

3636
```bash
3737
git clone https://github.com/YOUR-USERNAME/docs
3838
cd docs
39-
sudo apt install python3-pip
39+
sudo apt install python3-pip python3-venv
40+
python3 -m venv .venv
41+
source .venv/bin/activate
4042
pip3 install -r requirements.txt
4143
```
4244

45+
- Enter the virtual enviorment (if exited):
46+
47+
```bash
48+
source .venv/bin/activate
49+
```
50+
4351
- Running the docs server:
4452

4553
```bash

0 commit comments

Comments
 (0)