Skip to content

Commit e46f6d8

Browse files
committed
enhancement
1 parent 8851b02 commit e46f6d8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
flask==0.12.1
2-
flask-blueprint==1.1.6
3-
flask-app-core==1.0.2
1+
flask-app-core==1.1.9

start.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import sys
21
from flask_app_core import Bootstrap
32
from app.config.app import DevelopmentConfig
43

54

65
if __name__ == "__main__":
7-
bootstrap = Bootstrap(__name__, __file__, sys.argv, config=DevelopmentConfig)
6+
bootstrap = Bootstrap(import_name=__name__, app_dir=__file__, config=DevelopmentConfig, environment='development')
87
bootstrap.start()

0 commit comments

Comments
 (0)