mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-07 22:12:15 -04:00
new script runs brozzler-new-site queues a new site to brozzle on the vagrant brozzler deployment
This commit is contained in:
parent
38af0f347b
commit
253122d061
2 changed files with 15 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -32,7 +32,7 @@ def find_package_data(package):
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='brozzler',
|
name='brozzler',
|
||||||
version='1.1b6.dev82',
|
version='1.1b6.dev83',
|
||||||
description='Distributed web crawling with browsers',
|
description='Distributed web crawling with browsers',
|
||||||
url='https://github.com/internetarchive/brozzler',
|
url='https://github.com/internetarchive/brozzler',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
|
14
vagrant/vagrant-brozzler-new-site.sh
Executable file
14
vagrant/vagrant-brozzler-new-site.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# vagrant-brozzler-new-site.sh - run brozzler-new-site inside the vagrant vm to
|
||||||
|
# queue a job for your vagrant brozzler deployment
|
||||||
|
#
|
||||||
|
|
||||||
|
# cd to path with Vagrantfile so "vagrant ssh" knows what to do
|
||||||
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
cd $script_dir
|
||||||
|
|
||||||
|
vagrant ssh -- \
|
||||||
|
PYTHONPATH=/home/vagrant/brozzler-ve34/lib/python3.4/site-packages \
|
||||||
|
/home/vagrant/brozzler-ve34/bin/python \
|
||||||
|
/home/vagrant/brozzler-ve34/bin/brozzler-new-site "$@"
|
Loading…
Add table
Add a link
Reference in a new issue