view backend.py @ 168:a71822a4beed

Refactoring to not better use Flask, only when needed: - command-line utility is using plain `argparse`. - no Flask app created unless we want to run a server. - split all commands into sub-modules. - do more initialization stuff in the `WikiParameters`. - make `Wiki` init as cheap as possible. - one `Wiki` instance now created per request.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 22 Jan 2014 21:39:02 -0800
parents a4a64d6b66cb
children
line wrap: on
line source

from wikked.tasks import app

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