view backend.py @ 142:7e4287d9b3bb

Changes to make it easier to deploy: - Local config can go in `.wikirc.local`. - Remove path dependencies from `WikiParameters`. - More configurability in the SQL database backend.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 10 Dec 2013 13:49:03 -0800
parents 87606db8c641
children a4a64d6b66cb
line wrap: on
line source

import logging
from celery import Celery


logging.basicConfig(level=logging.DEBUG)


app = Celery(
        'wikked',
        broker='amqp://',
        backend='amqp://',
        include=['wikked.tasks'])

if __name__ == '__main__':
    app.start()