From ac4e3d71e645d532fd176cce8e2ac2aedcbf0035 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 1 Dec 2018 11:37:37 +0100 Subject: README: Minor improvements Command line was outdated. --- README.rst | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 3d33fa2..428744f 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,8 @@ crocoite ======== -Archive websites using `headless Google Chrome`_ and its DevTools protocol. +Preservation for the modern web, powered by `headless Google +Chrome`_. .. image:: https://travis-ci.org/PromyLOPh/crocoite.svg?branch=master :target: https://travis-ci.org/PromyLOPh/crocoite @@ -14,7 +15,7 @@ Archive websites using `headless Google Chrome`_ and its DevTools protocol. Quick start ----------- -The following dependencies must be present to run crocoite: +These dependencies must be present to run crocoite: - Python ≥3.6 - aiohttp_ @@ -31,21 +32,25 @@ The following dependencies must be present to run crocoite: .. _bottom: https://github.com/numberoverzero/bottom .. _Google Chrome: https://www.google.com/chrome/ -It is recommended to prepare a virtualenv and let pip handle the dependency -resolution for Python packages instead: +The following commands clone the repository from GitHub_, set up a virtual +environment and install crocoite: + +.. _GitHub: https://github.com/PromyLOPh/crocoite .. code:: bash + git clone https://github.com/PromyLOPh/crocoite.git cd crocoite virtualenv -p python3 sandbox source sandbox/bin/activate pip install . -One-shot commandline interface and pywb_ playback: +One-shot command line interface and pywb_ playback: .. code:: bash - crocoite-grab --output example.com.warc.gz http://example.com/ + pip install pywb + crocoite-grab http://example.com/ example.com.warc.gz rm -rf collections && wb-manager init test && wb-manager add test example.com.warc.gz wayback & $BROWSER http://localhost:8080 -- cgit v1.2.3