Merge 6ad0ad310c18bce6317ce1836c5a401f7109324c into 4e398e1da2f0969e9fa80af9dc0caa984b2aa1b5

This commit is contained in:
Frank Sachsenheim 2018-08-14 15:40:32 +00:00 committed by GitHub
commit 4b34a913e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,26 +25,26 @@ the brozzler virtualenv.
::
my-laptop$ vagrant ssh
vagrant@brozzler-easy:~$ source ~/brozzler-ve34/bin/activate
vagrant@brozzler-easy:~$ source /opt/brozzler-ve34/bin/activate
(brozzler-ve34)vagrant@brozzler-easy:~$
Then you can run brozzler-new-site:
::
(brozzler-ve34)vagrant@brozzler-easy:~$ brozzler-new-site \
--proxy=localhost:8000 http://example.com/
(brozzler-ve34)vagrant@brozzler-easy:~$ brozzler-new-site http://example.com/
Or brozzler-new-job (make sure to set the proxy to localhost:8000):
::
(brozzler-ve34)vagrant@brozzler-easy:~$ cat >job1.yml
(brozzler-ve34)vagrant@brozzler-easy:~$ cat > job1.yml <<EOF
id: job1
proxy: localhost:8000 # point at warcprox for archiving
seeds:
- url: https://example.org/
EOF
(brozzler-ve34)vagrant@brozzler-easy:~$ brozzler-new-job job1.yml
WARC files will appear in ./warcs and brozzler, warcprox and rethinkdb logs in