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
# [Flask Dashboard](https://appseed.us/admin-dashboards/flask) Now UI
1
+
# [Flask Now UI Dashboard](https://appseed.us/admin-dashboards/flask-now-ui-dashboard)
2
2
3
-
[Admin dashboard](https://appseed.us/admin-dashboards) generated by AppSeed in **[Flask](https://appseed.us/admin-dashboards/flask)** Framework.
4
-
5
-
Now UI Dashboard is a responsive Bootstrap 4 kit provided for free by Invision and Creative Tim. Now UI Dashboard comes packed with all plugins that you might need inside a project and documentation on how to get started. It is light and easy to use, and also very powerful.
3
+
Admin dashboard generated by AppSeed in **Flask** Framework. **Now UI Dashboard** is a responsive Bootstrap 4 kit provided for free by Invision and Creative Tim. Now UI Dashboard comes packed with all plugins that you might need inside a project and documentation on how to get started. It is light and easy to use, and also very powerful.

45
+
Visit `http://localhost:85` in your browser. The app should be up & running.
39
46
40
47
<br />
41
48
@@ -82,28 +89,61 @@ $ # Access the dashboard in browser: http://127.0.0.1:5000/
82
89
83
90
<br />
84
91
85
-
## Codebase structure
92
+
## Code-base structure
86
93
87
94
The project is coded using blueprints, app factory pattern, dual configuration profile (development and production) and an intuitive structure presented bellow:
88
95
89
-
> Simplified version
90
-
91
96
```bash
92
97
< PROJECT ROOT >
93
98
|
94
-
|-- app/ # Implements app logic
95
-
||-- base/ # Base Blueprint - handles the authentication
96
-
||-- home/ # Home Blueprint - serve UI Kit pages
99
+
|-- apps/
100
+
||
101
+
||-- home/ # A simple app that serve HTML files
102
+
|||-- routes.py # Define app routes
97
103
||
98
-
| __init__.py # Initialize the app
104
+
||-- authentication/ # Handles auth routes (login and register)
105
+
|||-- routes.py # Define authentication routes
106
+
|||-- models.py # Defines models
107
+
|||-- forms.py # Define auth forms (login and register)
**Step #2** - Change the working directory to `assets` folder
200
181
201
-
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Heroku](https://www.heroku.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).
182
+
```bash
183
+
$ cd apps/static/assets
184
+
```
202
185
203
186
<br />
204
187
205
-
### [Docker](https://www.docker.com/) execution
206
-
---
207
-
208
-
The application can be easily executed in a docker container. The steps:
209
-
210
-
> Get the code
188
+
**Step #3** - Install modules (this will create a classic `node_modules` directory)
Visit `http://localhost:5005` in your browser. The app should be up & running.
204
+
The generated file is saved in `static/assets/css` directory.
224
205
225
206
<br />
226
207
208
+
## Deployment
209
+
210
+
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Heroku](https://www.heroku.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).
211
+
227
212
### [Heroku](https://www.heroku.com/)
228
213
---
229
214
@@ -310,4 +295,4 @@ Visit `http://localhost:8001` in your browser. The app should be up & running.
310
295
<br />
311
296
312
297
---
313
-
[Flask Dashboard](https://appseed.us/admin-dashboards/flask) Now UI - Provided by **AppSeed [App Generator](https://appseed.us/app-generator)**.
298
+
[Flask Now UI Dashboard](https://appseed.us/admin-dashboards/flask-now-ui-dashboard) - Provided by **AppSeed [App Generator](https://appseed.us/app-generator)**.
0 commit comments