Shove is the second half of Captain Shove. It listens for commands from the Captain frontend and executes them.
Code: | https://github.com/mozilla/shove |
---|---|
Documentation: | http://captain.readthedocs.org/en/latest/ |
Issue tracker: | https://github.com/mozilla/shove/issues |
IRC: | #capshove on irc.mozilla.org |
License: | Mozilla Public License v2 |
Required:
- pip
- virtualenv
- python: 2.6 or 2.7
Steps:
git clone https://github.com/mozilla/shove
cd shove
virtualenv venv
source venv/bin/activate
python setup.py develop
cp shove/settings.py-dist shove/settings.py
- Edit
shove/settings.py
. The comments tell you what you need to change. - Set up rabbitmq and fill in the details in
shove/settings.py
. shove
That'll launch shove, but it won't really do anything until you start passing it orders. You pass it orders using Captain.
After cloning and setting up a virtualenv using the steps above:
pip install -r requirements.txt
python setup.py nosetests
Tests are located in the tests
subfolder.
git clone https://github.com/mozilla/shove
cd shove
- Install FPM: https://github.com/jordansissel/fpm#get-with-the-download
fpm -s python -t rpm -n python-captain-shove shove/setup.py
You can use any supported output for -t- You have RPM (or other package)