示例#1
0
文件: tests.py 项目: ackl/todowhat
 def create_app(self):
     """Create the app with testing config options."""
     return create_app('config.TestConfiguration')
示例#2
0
文件: run.py 项目: 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')