You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If not skip example(Please see --example/--no-example options), you can get project tree like this::
47
53
48
54
.
55
+
├── Dockerfile
49
56
├── app
50
57
│ ├── __init__.py
51
58
│ ├── configs
@@ -69,13 +76,21 @@ If not skip example(Please see --example/--no-example options), you can get proj
69
76
│ └── views
70
77
│ ├── __init__.py
71
78
│ └── example.py
79
+
├── deploy.sh
80
+
├── docker-compose.yml
72
81
├── docs
82
+
├── logs
73
83
├── requirements.txt
74
84
└── tests
75
85
├── __init__.py
76
86
├── conftest.py
77
87
└── test_example.py
78
88
89
+
Dockerfile
90
+
----------
91
+
92
+
Build image for run web server. For more information about dockerfile, please visit : `Dockerfile reference <https://docs.docker.com/engine/reference/builder/#usage>`_.
93
+
79
94
app
80
95
---
81
96
@@ -86,86 +101,65 @@ configs
86
101
87
102
In a hobbit app, we auto load config by FLASK_ENV. If FLASK_ENV=production, used ``configs/production.py`` file.
88
103
89
-
exts
104
+
core
90
105
^^^^
91
106
92
-
`Why use exts.py to instance extension? <https://stackoverflow.com/questions/42909816/can-i-avoid-circular-imports-in-flask-and-sqlalchemy/51739367#51739367>`_
To avoid circular imports in Flask and flask extention, exts.py used. `Why use exts.py to instance extension? <https://stackoverflow.com/questions/42909816/can-i-avoid-circular-imports-in-flask-and-sqlalchemy/51739367#51739367>`_
0 commit comments