-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
41 lines (32 loc) · 1013 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from public import app
from config import DEBUG
from libs import middleware
from apps import account
from apps import appManager
from apps import instanceManager
from apps import serviceManage
from apps import ldapManager
from apps import JenkinsManager
from apps import ansibleManage
from apps import ansibleChannelAuth
from apps import configuration
from apps import home
# from apps import deploy
# from apps import assets
# from apps import apis
# from apps import schedule
# from apps import common
# from apps import system
middleware.init_app(app)
account.register_blueprint(app)
appManager.register_blueprint(app)
instanceManager.register_blueprint(app)
ldapManager.register_blueprint(app)
serviceManage.register_blueprint(app)
JenkinsManager.register_blueprint(app)
ansibleManage.register_blueprint(app)
ansibleChannelAuth.register_blueprint(app)
configuration.register_blueprint(app)
home.register_blueprint(app)
if __name__ == '__main__':
app.run(host='127.0.0.1', port=9000, debug=DEBUG)