Skip to content

Commit 991119b

Browse files
committed
Don't re-install pip3 Python packages every time
1 parent e752e5f commit 991119b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ docker compose up
4444

4545
### Run manually
4646

47-
1. Download and install Python, as above, and ensure you have installed all the packages listed in `requirements.txt`, e.g.:
47+
1. Download and install Python, as above, and ensure you have installed all the packages listed in `requirements.txt`:
4848

4949
```sh
50-
pip install markdown-include==0.8.1
50+
pip3 install -r requirements.txt
5151
```
5252

5353
2. Run the following from the project root to bring up the site:
5454

5555
```sh
56-
mkdocs serve --strict
56+
./run.sh
5757
```
5858

5959
## Questions

run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ set -euo pipefail
33

44
virtualenv venv
55
source venv/bin/activate
6-
pip3 install -r requirements.txt
76
mkdocs serve --strict

0 commit comments

Comments
 (0)