mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Add python3 command to start http server
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
parent
ff75e7f3e7
commit
8df6deb08f
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue