Skip to content

Commit 1bb614e

Browse files
author
App Generator
committed
Release v1.0.6 - Bump Codebase Version
1 parent eefae78 commit 1bb614e

File tree

5 files changed

+43
-34
lines changed

5 files changed

+43
-34
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## [1.0.6] 2022-01-16
4+
### Improvements
5+
6+
- Bump Flask Codebase to [v2stable.0.1](https://github.com/app-generator/boilerplate-code-flask-dashboard/releases)
7+
- Dependencies update (all packages)
8+
- Flask==2.0.2 (latest stable version)
9+
- flask_wtf==1.0.0
10+
- jinja2==3.0.3
11+
- flask-restx==0.5.1
12+
- Forms Update:
13+
- Replace `TextField` (deprecated) with `StringField`
14+
315
## [1.0.5] 2021-12-03
416
### Improvements
517

README.md

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,38 @@ Open-source **[Flask Dashboard](https://appseed.us/admin-dashboards/flask)** gen
66

77
> Features
88
9-
- UI Kit: **[CoreUI](https://bit.ly/2VTDaxg)** (Free Version) **v4.1.0**
10-
- Up-to-date [dependencies](./requirements.txt): **Flask 2.0.1**
9+
- `Up-to-date dependencies`
1110
- [SCSS compilation](#recompile-css) via **Gulp**
12-
- DBMS: SQLite, PostgreSQL (production)
13-
- DB Tools: SQLAlchemy ORM, Alembic (schema migrations)
14-
- Modular design with **Blueprints**, simple codebase
11+
- UI Kit: **[CoreUI](https://bit.ly/2VTDaxg)** (Free Version) **v4.1.0**
12+
- `DBMS`: SQLite, PostgreSQL (production)
13+
- `DB Tools`: SQLAlchemy ORM, Flask-Migrate (schema migrations)
1514
- Session-Based authentication (via **flask_login**), Forms validation
16-
- Deployment scripts: Docker, Gunicorn / Nginx, Heroku
17-
- Support via **Github** and [Discord](https://discord.gg/fZC6hup).
15+
- `Deployment`: **Docker**, Gunicorn / Nginx, HEROKU
16+
- Support via **Github** (issues tracker) and [Discord](https://discord.gg/fZC6hup).
1817

1918
<br />
2019

2120
> Links
2221
23-
- [CoreUI Flask](https://appseed.us/admin-dashboards/flask-dashboard-coreui) - product page
24-
- [CoreUI Flask](https://flask-coreui.appseed-srv1.com/) - LIVE deployment
25-
- [CoreUI Flask](https://docs.appseed.us/products/flask-dashboards/coreui) - product documentation
22+
- 👉 [CoreUI Flask](https://appseed.us/admin-dashboards/flask-dashboard-coreui) - product page
23+
- 👉 [CoreUI Flask](https://flask-coreui.appseed-srv1.com/) - LIVE deployment
24+
- 👉 [CoreUI Flask](https://docs.appseed.us/products/flask-dashboards/coreui) - product documentation
2625

2726
<br />
2827

29-
## Quick Start in [Docker](https://www.docker.com/)
28+
## Quick Start in `Docker`
3029

3130
> Get the code
3231
3332
```bash
34-
$ git clone https://github.com/app-generator/flask-dashboard-coreui.git
35-
$ cd flask-dashboard-coreui
33+
$ git clone https://github.com/app-generator/flask-coreui.git
34+
$ cd flask-coreui
3635
```
3736

3837
> Start the app in Docker
3938
4039
```bash
41-
$ docker-compose pull # download dependencies
42-
$ docker-compose build # local set up
43-
$ docker-compose up -d # start the app
40+
$ docker-compose up --build
4441
```
4542

4643
Visit `http://localhost:85` in your browser. The app should be up & running.
@@ -51,12 +48,12 @@ Visit `http://localhost:85` in your browser. The app should be up & running.
5148

5249
<br />
5350

54-
## How to use it
51+
## How to use it
5552

5653
```bash
5754
$ # Get the code
58-
$ git clone https://github.com/app-generator/flask-dashboard-coreui.git
59-
$ cd flask-dashboard-coreui
55+
$ git clone https://github.com/app-generator/flask-coreui.git
56+
$ cd flask-coreui
6057
$
6158
$ # Virtualenv modules installation (Unix based systems)
6259
$ virtualenv env
@@ -94,7 +91,7 @@ $ # Access the dashboard in browser: http://127.0.0.1:5000/
9491
9592
<br />
9693

97-
## Code-base structure
94+
## Code-base structure
9895

9996
The project is coded using blueprints, app factory pattern, dual configuration profile (development and production) and an intuitive structure presented bellow:
10097

@@ -167,7 +164,7 @@ The project is coded using blueprints, app factory pattern, dual configuration p
167164

168165
<br />
169166

170-
## Recompile CSS
167+
## Recompile CSS
171168

172169
To recompile SCSS files, follow this setup:
173170

@@ -210,7 +207,7 @@ The generated file is saved in `static/assets/css` directory.
210207

211208
<br />
212209

213-
## Deployment
210+
## Deployment
214211

215212
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/).
216213

@@ -293,7 +290,7 @@ Visit `http://localhost:8001` in your browser. The app should be up & running.
293290

294291
<br />
295292

296-
## Credits & Links
293+
## Credits & Links
297294

298295
- [Flask Framework](https://www.palletsprojects.com/p/flask/) - The offcial website
299296
- [Boilerplate Code](https://appseed.us/boilerplate-code) - Index provided by **AppSeed**

apps/authentication/forms.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"""
55

66
from flask_wtf import FlaskForm
7-
from wtforms import TextField, PasswordField
7+
from wtforms import StringField, PasswordField
88
from wtforms.validators import Email, DataRequired
99

1010
# login and registration
1111

1212

1313
class LoginForm(FlaskForm):
14-
username = TextField('Username',
14+
username = StringField('Username',
1515
id='username_login',
1616
validators=[DataRequired()])
1717
password = PasswordField('Password',
@@ -20,10 +20,10 @@ class LoginForm(FlaskForm):
2020

2121

2222
class CreateAccountForm(FlaskForm):
23-
username = TextField('Username',
23+
username = StringField('Username',
2424
id='username_create',
2525
validators=[DataRequired()])
26-
email = TextField('Email',
26+
email = StringField('Email',
2727
id='email_create',
2828
validators=[DataRequired(), Email()])
2929
password = PasswordField('Password',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "flask-dashboard-coreui",
33
"mastertemplate": "boilerplate-code-flask-dashboard",
4-
"version": "1.0.5",
4+
"version": "1.0.6",
55
"description": "Template project - Flask Boilerplate Code",
66
"repository": {
77
"type": "git",

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
flask==2.0.1
1+
flask==2.0.2
22
flask_login==0.5.0
33
flask_migrate==3.1.0
4-
WTForms==2.3.3
5-
flask_wtf==0.15.1
4+
WTForms==3.0.1
5+
flask_wtf==1.0.0
66
flask_sqlalchemy==2.5.1
7-
sqlalchemy==1.4.23
7+
sqlalchemy==1.4.29
88
email_validator==1.1.3
9-
python-decouple==3.4
9+
python-decouple==3.5
1010
gunicorn==20.1.0
11-
jinja2==3.0.1
11+
jinja2==3.0.3
1212
flask-restx==0.5.1

0 commit comments

Comments
 (0)