Service to do non-AMO addon registration
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
addonreg
docs
loadtesting
requirements
.travis.yml
CHANGES.rst
MANIFEST.in
Makefile
README.rst
coverage.rc
development.ini
fabfile.py
setup.py
tox.ini
wsgi.py

README.rst

Addon registration

Build Status https://coveralls.io/repos/mozilla/addon-registration/badge.png

The goal of this service is to integrate closely with the addons.mozilla.org website (a.k.a AMO) to provide a way to register non AMO-listed addons as a really simple process.

How to get started?

Behind the scene, we are using Celery to distribute our jobs in a queue. We use Redis as a backend so you would need to get it installed on your machine.

Once you have the redis dependency in place, you would just need to run the makefile:

$ make build

Then there are two parts. The fist one runs the web service, and the other one the celery workers.

To start the service:

$ make serve

To start the celery workers:

$ make workers

And you should have the server up & running!

Dependencies

All the python dependencies are listed in the requirements folder. If you want to install a production server, then you would need to rely on the requirements/prod.txt file.

How to run the tests?

You just need to type make test to run the tests. The default behaviour is to run the tests against a temporary database, but you can change that by explicitely setting up the SQL_URI environment variable to the backend you want, e.g. SQLURI=mysql://addonreg:addonreg@localhost/addonreg make test