19 lines
455 B
Python
19 lines
455 B
Python
import logging
|
|
|
|
from app import app as application
|
|
|
|
import endpoints.index
|
|
import endpoints.api
|
|
import endpoints.web
|
|
import endpoints.tags
|
|
import endpoints.registry
|
|
|
|
# Remove this for prod config
|
|
application.debug = True
|
|
|
|
if __name__ == '__main__':
|
|
FORMAT = '%(asctime)-15s - %(levelname)s - %(pathname)s - ' + \
|
|
'%(funcName)s - %(message)s'
|
|
logging.basicConfig(format=FORMAT, level=logging.DEBUG)
|
|
|
|
application.run(port=5001, debug=True)
|