#!/usr/bin/env python from werkzeug.serving import run_simple from website.frontend import create_app app = create_app() if __name__ == '__main__': run_simple(app.config['SERVER_HOSTNAME'], app.config['SERVER_PORT'], app)
def create_app(self): app = create_app() app.config['TESTING'] = True return app