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
The entry point of the project is the `run.py` file where the project configuration is bundled. The `most important files` that make the project functional are listed below:
191
179
192
180
-`run.py` is the application entry point
181
+
193
182
- read the `Debug` flag from `.env`
194
183
-importthe`db`objectfrom`apps`packag
195
184
196
185
e
186
+
197
187
-importthe`create_app`helperfrom`apps
198
188
199
189
`
190
+
200
191
-`Flask` application is built by `create_app`
201
192
- If `Debug=True` - SQLite is used (development mode)
202
193
- If `Debug=False` - SQLite is used (production mode)
203
194
- Configuration
204
195
- is defined in `apps/config.py`
205
196
206
-
\
207
-
208
197
## ✨ How the `Flask App` object is constructed
209
198
210
199
The file that constructs the core features of our application is `apps/__init__.py`. The most important steps are listed below:
@@ -223,8 +212,6 @@ The file that constructs the core features of our application is `apps/__init__.
223
212
- initialize the database
224
213
-`db.create_all()` - create all tables
225
214
226
-
\
227
-
228
215
## ✨ Application Blueprints
229
216
230
217
The codebase is built using a modular design that uses `blueprints`. By default, the project comes with a two `blueprints`
@@ -246,8 +233,6 @@ The codebase is built using a modular design that uses `blueprints`. By default,
246
233
247
234
This module returns all pages saved in the `templates/home` directory to authenticated users. In case a page is not found, a generic page is returned using a `404` HTTP error status.
248
235
249
-
\
250
-
251
236
## ✨ UI Assets and Templates
252
237
253
238
The project comes with a modern UI fully migrated and usable with Django Template Engine.
@@ -293,8 +278,6 @@ All pages and components are saved inside the `apps/templates` directory. Here a
The static assets used by the project (`JS`, `CSS`, `images`) are saved inside the `apps/static/assets` folder. This path can be customized with ease via `ASSETS_ROOT` variable saved in the `.env` file.
@@ -329,8 +312,6 @@ At runtime, the `href` property is resolved to `/static/assets/css/style.css` ba
The entry point of the project is the `run.py` file where the project configuration is bundled. The `most important files` that make the project functional are listed below:
187
175
188
176
-`run.py` is the application entry point
177
+
189
178
- read the `Debug` flag from `.env`
190
179
-importthe`db`objectfrom`apps`packag
191
180
192
181
e
182
+
193
183
-importthe`create_app`helperfrom`apps
194
184
195
185
`
186
+
196
187
-`Flask` application is built by `create_app`
197
188
- If `Debug=True` - SQLite is used (development mode)
198
189
- If `Debug=False` - SQLite is used (production mode)
199
190
- Configuration
200
191
- is defined in `apps/config.py`
201
192
202
-
\
203
-
204
193
## ✨ How the `Flask App` object is constructed
205
194
206
195
The file that constructs the core features of our application is `apps/__init__.py`. The most important steps are listed below:
@@ -219,8 +208,6 @@ The file that constructs the core features of our application is `apps/__init__.
219
208
- initialize the database
220
209
-`db.create_all()` - create all tables
221
210
222
-
\
223
-
224
211
## ✨ Application Blueprints
225
212
226
213
The codebase is built using a modular design that uses `blueprints`. By default, the project comes with a two `blueprints`
@@ -242,8 +229,6 @@ The codebase is built using a modular design that uses `blueprints`. By default,
242
229
243
230
This module returns all pages saved in the `templates/home` directory to authenticated users. In case a page is not found, a generic page is returned using a `404` HTTP error status.
244
231
245
-
\
246
-
247
232
## ✨ UI Assets and Templates
248
233
249
234
The project comes with a modern UI fully migrated and usable with Django Template Engine.
@@ -289,8 +274,6 @@ All pages and components are saved inside the `apps/templates` directory. Here a
The static assets used by the project (`JS`, `CSS`, `images`) are saved inside the `apps/static/assets` folder. This path can be customized with ease via `ASSETS_ROOT` variable saved in the `.env` file.
@@ -325,8 +308,6 @@ At runtime, the `href` property is resolved to `/static/assets/css/style.css` ba
0 commit comments