Skip to content

Commit d875dd4

Browse files
authored
Merge pull request #1051 from jcstr/patch2-docs
Add python 3 use case
2 parents ff5afe4 + 9badf8a commit d875dd4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/CLI.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@ $ cd tufrepo/
283283
$ python -m SimpleHTTPServer 8001
284284
```
285285

286+
If running python 3:
287+
```Bash
288+
$ python3 -m http.server 8001
289+
```
290+
286291
```Bash
287292
Step (4)
288293
$ client.py --repo http://localhost:8001 README.txt
@@ -411,6 +416,11 @@ $ cd tufrepo/
411416
$ python -m SimpleHTTPServer 8001
412417
```
413418

419+
If running python 3:
420+
```Bash
421+
$ python3 -m http.server 8001
422+
```
423+
414424
Fetch the role x's README.txt
415425
```Bash
416426
$ client.py --repo http://localhost:8001 README.txt

0 commit comments

Comments
 (0)