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...
This commit is contained in:
parent
b6dd2e3152
commit
a6a64a2b9e
15 changed files with 411 additions and 0 deletions
30
python_apps/airtime_analyzer/README.rst
Normal file
30
python_apps/airtime_analyzer/README.rst
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
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
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue