Beispiel #1
0
 def create_app(self):
     """Create the app with testing config options."""
     return create_app('config.TestConfiguration')
Beispiel #2
0
#!/usr/bin/env python2
from todowhat import create_app

app = create_app('config.DevConfiguration')

if __name__ == "__main__":
    app.run(host='0.0.0.0')