Skip to content

uberj/shove

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shove - It follows the Captain's orders.

Shove is the second half of Captain Shove. It listens for commands from the Captain frontend and executes them.

https://api.travis-ci.org/mozilla/shove.png https://coveralls.io/repos/mozilla/shove/badge.png?branch=master

Project details

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

To hack on Shove

Required:

  • pip
  • virtualenv
  • python: 2.6 or 2.7

Steps:

  1. git clone https://github.com/mozilla/shove
  2. cd shove
  3. virtualenv venv
  4. source venv/bin/activate
  5. python setup.py develop
  6. cp shove/settings.py-dist shove/settings.py
  7. Edit shove/settings.py. The comments tell you what you need to change.
  8. Set up rabbitmq and fill in the details in shove/settings.py.
  9. shove

That'll launch shove, but it won't really do anything until you start passing it orders. You pass it orders using Captain.

To test

After cloning and setting up a virtualenv using the steps above:

  1. pip install -r requirements.txt
  2. python setup.py nosetests

Tests are located in the tests subfolder.

To make an RPM (or any supported package)

  1. git clone https://github.com/mozilla/shove
  2. cd shove
  3. Install FPM: https://github.com/jordansissel/fpm#get-with-the-download
  4. fpm -s python -t rpm -n python-captain-shove shove/setup.py You can use any supported output for -t
  5. You have RPM (or other package)

Releases

No releases published

Packages

No packages published