Esempio n. 1
0
 def create_app(self):
     """Create the app with testing config options."""
     return create_app('config.TestConfiguration')
Esempio n. 2
0
File: run.py Progetto: ackl/todowhat
#!/usr/bin/env python2
from todowhat import create_app

app = create_app('config.DevConfiguration')

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