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
Visit `http://localhost:85` in your browser. The app should be up & running.
33
46
34
-
<br />
35
47
<br />
36
48
37
49

@@ -85,24 +97,57 @@ $ # Access the dashboard in browser: http://127.0.0.1:5000/
85
97
86
98
The project is coded using blueprints, app factory pattern, dual configuration profile (development and production) and an intuitive structure presented bellow:
87
99
88
-
> Simplified version
89
-
90
100
```bash
91
101
< PROJECT ROOT >
92
102
|
93
-
|-- app/ # Implements app logic
94
-
||-- base/ # Base Blueprint - handles the authentication
95
-
||-- home/ # Home Blueprint - serve UI Kit pages
103
+
|-- apps/
96
104
||
97
-
| __init__.py # Initialize the app
105
+
||-- home/ # A simple app that serve HTML files
106
+
|||-- routes.py # Define app routes
107
+
||
108
+
||-- authentication/ # Handles auth routes (login and register)
109
+
|||-- routes.py # Define authentication routes
110
+
|||-- models.py # Defines models
111
+
|||-- forms.py # Define auth forms (login and register)
**Step #3** - Install modules (this will create a classic `node_modules` directory)
199
193
200
-
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).
194
+
```bash
195
+
$ npm install
196
+
// OR
197
+
$ yarn
198
+
```
201
199
202
200
<br />
203
201
204
-
### [Docker](https://www.docker.com/) execution
205
-
---
206
-
207
-
The application can be easily executed in a docker container. The steps:
Visit `http://localhost:5005` in your browser. The app should be up & running.
212
+
## Deployment
213
+
214
+
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).
0 commit comments