INACTIVE - http://mzl.la/ghe-archive - Follows the Captain's orders.
Перейти к файлу
Will Kahn-Greene b478a0b914
Merge pull request #18 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2019-03-28 08:36:46 -04:00
shove Update version. 2014-12-01 11:57:04 -08:00
tests Update tests. 2014-08-11 16:26:10 -04:00
.gitignore ignore rpms and debs 2014-10-01 11:55:08 -07:00
.travis.yml Add Travis/Coveralls configuration. 2013-09-10 17:29:55 -04:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-27 21:17:48 -07:00
LICENSE Initial commit, readme, license, setup.py, etc. 2013-07-27 14:03:40 -04:00
README.rst quick docs on how to make a package with fpm, focuses on rpm, fixes #11 2013-12-17 09:33:20 -08:00
requirements.txt Be a little more lenient on the version requirements. 2014-11-26 14:10:46 -08:00
setup.py Be a little more lenient on the version requirements. 2014-11-26 14:10:46 -08:00

README.rst

========================================
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.

.. image:: https://api.travis-ci.org/mozilla/shove.png
   :target: https://travis-ci.org/mozilla/shove

.. image:: https://coveralls.io/repos/mozilla/shove/badge.png?branch=master
   :target: https://coveralls.io/r/mozilla/shove?branch=master

.. _Captain Shove: https://wiki.mozilla.org/Websites/Captain_Shove

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)