# Path: app/main.py

# 
# Path: app/initializer.py
# def _load_confidential_settings(app):
# def _check_config(app):
# def do_init(app, mode=config.MODE_PROD, extra_settings={}):
# def _configure_logging(app):
# def get_config_summary(app):
# def get_ssl_context(app):
#         DATABASE_PATH = os.path.abspath('tests.db')
#             SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
#             SQLALCHEMY_DATABASE_URI = 'sqlite:///' + DATABASE_PATH
#         SQLALCHEMY_DATABASE_URI = 'mysql://{}:{}@{}/{}' \
#             .format(app.config['DB_USER'],
#                     app.config['DB_PASS'],
#                     app.config['DB_HOST'],
#                     app.config['DB_NAME'])
# 
# Path: config.py
# MODE_DEBUG = 'mode_debug'   # for developer mode


import argparse
from app.main import app, mail
from app import initializer
from config import MODE_DEBUG
#!/usr/bin/env python
"""
Goal: Implement the application entry point

@authors:
    Andrei Sura             <sura.andrei@gmail.com>
    Ruchi Vivek Desai       <ruchivdesai@gmail.com>
    Sanath Pasumarthy       <sanath@ufl.edu>
    Nicholas Rejack         <nrejack@ufl.edu>
"""


# Configures routes, models
app = initializer.do_init(app, mode=MODE_DEBUG)

# Path: app/main.py

# 
# Path: app/initializer.py
# def _load_confidential_settings(app):
# def _check_config(app):
# def do_init(app, mode=config.MODE_PROD, extra_settings={}):
# def _configure_logging(app):
# def get_config_summary(app):
# def get_ssl_context(app):
#         DATABASE_PATH = os.path.abspath('tests.db')
#             SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
#             SQLALCHEMY_DATABASE_URI = 'sqlite:///' + DATABASE_PATH
#         SQLALCHEMY_DATABASE_URI = 'mysql://{}:{}@{}/{}' \
#             .format(app.config['DB_USER'],
#                     app.config['DB_PASS'],
#                     app.config['DB_HOST'],
#                     app.config['DB_NAME'])
# 
# Path: config.py
# MODE_DEBUG = 'mode_debug'   # for developer mode


# Path: run.py
import argparse
from app.main import app, mail
from app import initializer
from config import MODE_DEBUG

#!/usr/bin/env python
"""
Goal: Implement the application entry point

@authors:
    Andrei Sura             <sura.andrei@gmail.com>
    Ruchi Vivek Desai       <ruchivdesai@gmail.com>
    Sanath Pasumarthy       <sanath@ufl.edu>
    Nicholas Rejack         <nrejack@ufl.edu>
"""


# Configures routes, models
app = initializer.do_init(app, mode=MODE_DEBUG)

mail.init_app(app)