[readme] Minor update
This commit is contained in:
parent
4b86c2ef50
commit
329ce64473
1 changed files with 5 additions and 2 deletions
|
@ -86,7 +86,7 @@ Examples
|
||||||
* fetch and extract the Python 3.7 documentation HTML archive: ::
|
* fetch and extract the Python 3.7 documentation HTML archive: ::
|
||||||
|
|
||||||
curl -s -S -f \
|
curl -s -S -f \
|
||||||
'https://docs.python.org/3/archives/python-3.7.1-docs-html.tar.bz2' \
|
https://docs.python.org/3/archives/python-3.7.1-docs-html.tar.bz2 \
|
||||||
| tar -x -j -v
|
| tar -x -j -v
|
||||||
|
|
||||||
* create the CDB archive (without any compression): ::
|
* create the CDB archive (without any compression): ::
|
||||||
|
@ -94,19 +94,22 @@ Examples
|
||||||
cdb-http-archiver \
|
cdb-http-archiver \
|
||||||
--archive ./python-3.7.1-docs.cdb \
|
--archive ./python-3.7.1-docs.cdb \
|
||||||
--sources ./python-3.7.1-docs-html \
|
--sources ./python-3.7.1-docs-html \
|
||||||
|
--debug
|
||||||
|
|
||||||
* create the CDB archive (with `gzip` compression): ::
|
* create the CDB archive (with `gzip` compression): ::
|
||||||
|
|
||||||
cdb-http-archiver \
|
cdb-http-archiver \
|
||||||
--archive ./python-3.7.1-docs-gzip.cdb \
|
--archive ./python-3.7.1-docs-gzip.cdb \
|
||||||
--sources ./python-3.7.1-docs-html \
|
--sources ./python-3.7.1-docs-html \
|
||||||
--compress gzip
|
--compress gzip \
|
||||||
|
--debug
|
||||||
|
|
||||||
* serve the CDB archive (with `gzip` compression): ::
|
* serve the CDB archive (with `gzip` compression): ::
|
||||||
|
|
||||||
cdb-http-server \
|
cdb-http-server \
|
||||||
--bind 127.0.0.1:8080 \
|
--bind 127.0.0.1:8080 \
|
||||||
--archive ./python-3.7.1-docs-gzip.cdb \
|
--archive ./python-3.7.1-docs-gzip.cdb \
|
||||||
|
--preload \
|
||||||
--debug
|
--debug
|
||||||
|
|
||||||
* compare sources and archive sizes: ::
|
* compare sources and archive sizes: ::
|
||||||
|
|
Loading…
Reference in a new issue