17 lines
385 B
Python
Executable File
17 lines
385 B
Python
Executable File
#! /usr/bin/env python3
|
|
|
|
from flask import Flask
|
|
|
|
from accounts import accounts
|
|
from tests.config import TestConfig
|
|
|
|
def create_app():
|
|
accounts_app = Flask(__name__, template_folder='tests/templates')
|
|
accounts_app.register_blueprint(accounts)
|
|
accounts_app.config.from_object(TestConfig)
|
|
|
|
return accounts_app
|
|
|
|
if __name__ == '__main__':
|
|
create_app().run(debug=True)
|