From 8df6deb08f50c809448f104aeda7e72da437c64b Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Mon, 22 Jan 2018 17:26:21 -0500 Subject: [PATCH] Add python3 command to start http server Signed-off-by: Vladimir Diaz --- tuf/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tuf/README.md b/tuf/README.md index 7b9e92b9..f8aa72b8 100644 --- a/tuf/README.md +++ b/tuf/README.md @@ -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