mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
638 B
638 B
Quickstart
Note: This is a work in progress. Only examples are given here, for now.
The following is a workflow example in four steps.
Step (1) - Create a repo
$ repo.py --init
Step (2) - Add a target file
$ repo.py --add foo.tar.gz
Step (3) - Serve the repo
$ cd "repo/"
$ python -m SimpleHTTPServer 8001
Step (4) - Fetch a target file from repo
$ cd "client/"
$ client.py --repo http://localhost:8001 foo.tar.gz
See CLI.md for more examples. A Tutorial is also available, and designed for users that want more control over the creation process.