You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
299 B
14 lines
299 B
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
Entry point for all things, to avoid circular imports.
|
|
"""
|
|
import os
|
|
from .app import app, db
|
|
from .models import *
|
|
from .views import *
|
|
|
|
|
|
if __name__ == '__main__':
|
|
port = int(os.environ.get('PORT', 5000))
|
|
app.run(host='0.0.0.0', port=port) |