sintonia/python_apps/airtime_analyzer
Albert Santoni a6a64a2b9e CC-5709 / CC-5705 : Airtime Analyzer
* Finished the skeleton of the airtime_analyzer service.
* Basic round-robin, reliable AMQP messaging works.
* Using multiprocess arch so the daemon survives analyzer crashes and
  avoids failures propagating to other nodes.
* Basic metadata extractor using Mutagen is done.
* HTTP requests to the File API to are next to come...
2014-03-05 12:15:25 -05:00
..
airtime_analyzer CC-5709 / CC-5705 : Airtime Analyzer 2014-03-05 12:15:25 -05:00
bin CC-5709 / CC-5705 : Airtime Analyzer 2014-03-05 12:15:25 -05:00
tests CC-5709 / CC-5705 : Airtime Analyzer 2014-03-05 12:15:25 -05:00
tools CC-5709 / CC-5705 : Airtime Analyzer 2014-03-05 12:15:25 -05:00
MANIFEST.in CC-5709 / CC-5705 : Airtime Analyzer 2014-03-05 12:15:25 -05:00
README.rst CC-5709 / CC-5705 : Airtime Analyzer 2014-03-05 12:15:25 -05:00
setup.py CC-5709 / CC-5705 : Airtime Analyzer 2014-03-05 12:15:25 -05:00

Ghetto temporary installation instructions

set up a virtualenv
activate it
pip install mutagen python-magic pika

You will need to allow the "airtime" RabbitMQ user to access the airtime-uploads exchange and queue:

    sudo rabbitmqctl set_permissions -p /airtime airtime airtime-uploads airtime-uploads airtime-uploads


Developers
==========

For development, you want to install AAQ system-wide but with everything symlinked back to the source 
directory (for convenience), so run:
    
    $ sudo python setup.py develop



Unit Tests
==========

To run the unit tests, execute:

    $ nosetests