Merge pull request #1051 from jcstr/patch2-docs

Add python 3 use case
This commit is contained in:
lukpueh 2020-06-11 10:07:32 +02:00 committed by GitHub
commit d875dd4bd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -283,6 +283,11 @@ $ cd tufrepo/
$ python -m SimpleHTTPServer 8001
```
If running python 3:
```Bash
$ python3 -m http.server 8001
```
```Bash
Step (4)
$ client.py --repo http://localhost:8001 README.txt
@ -411,6 +416,11 @@ $ cd tufrepo/
$ python -m SimpleHTTPServer 8001
```
If running python 3:
```Bash
$ python3 -m http.server 8001
```
Fetch the role x's README.txt
```Bash
$ client.py --repo http://localhost:8001 README.txt