Add python3 command to start http server

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
Vladimir Diaz 2018-01-22 17:26:21 -05:00
parent ff75e7f3e7
commit 8df6deb08f
No known key found for this signature in database
GPG key ID: 5DEE9B97B0E2289A

View file

@ -637,6 +637,11 @@ Run the local TUF repository server.
$ cd "repository/"; python -m SimpleHTTPServer 8001
```
If running Python 3:
```Bash
$ cd "repository/"; python3 -m http.server 8001
```
Retrieve targets from the TUF repository and save them to `client/`. The
`basic_client.py` script is available in the 'scripts' directory. In the
following example, it is copied to the 'client' directory and executed from