From 9badf8a51e0787b04827a74396d91009903019ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Castro?= Date: Wed, 10 Jun 2020 06:30:23 -0500 Subject: [PATCH] Add python 3 use case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This indication can be found on other documents. Signed-off-by: Jesús Castro --- docs/CLI.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/CLI.md b/docs/CLI.md index 3e37c99e..6b2b5a3b 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -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