Skip to content

Commit 852c71f

Browse files
committed
Release v1.0.10
1 parent fc34bd5 commit 852c71f

File tree

9 files changed

+56
-58
lines changed

9 files changed

+56
-58
lines changed

.env

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1-
# True for development, False for production
21
DEBUG=True
32

4-
# Flask ENV
53
FLASK_APP=run.py
6-
FLASK_ENV=development
4+
FLASK_DEBUG=1
75

8-
# If not provided, a random one is generated
9-
# SECRET_KEY=<YOUR_SUPER_KEY_HERE>
10-
11-
# Used for CDN (in production)
12-
# No Slash at the end
136
ASSETS_ROOT=/static/assets
147

15-
# If DEBUG=False (production mode)
168
# DB_ENGINE=mysql
17-
# DB_NAME=appseed_db
189
# DB_HOST=localhost
19-
# DB_PORT=3306
10+
# DB_NAME=appseed_db
2011
# DB_USERNAME=appseed_db_usr
21-
# DB_PASS=<STRONG_PASS>
22-
12+
# DB_PASS=pass
13+
# DB_PORT=3306

CHANGELOG.md

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

3+
## [1.0.10] 2023-10-07
4+
### Changes
5+
6+
- Update Dependencies
7+
- Codebase Improvements
8+
39
## [1.0.9] 2023-04-02
410
### Changes
511

README.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,21 @@ Open-source **[Flask Dashboard](https://appseed.us/admin-dashboards/flask/)** ge
88

99
<br />
1010

11-
> 🚀 Built with [App Generator](https://appseed.us/generator/), timestamp `2022-06-23 18:20`
11+
## ✅ Features
1212

13-
- `Database`: `SQLite`, MySql
13+
- `Database`: `SQLite`, MySql
1414
- Silent fallback to `SQLite`
15-
- `DB Tools`: SQLAlchemy ORM, `Flask-Migrate`
16-
- `Authentication`, Session Based, `OAuth` via **Github**
17-
- Docker, `Flask-Minify` (page compression)
18-
- 🚀 `Deployment`
15+
- `DB Tools`: SQLAlchemy ORM, `Flask-Migrate`
16+
- `Authentication`, Session Based, `OAuth` via **Github**
17+
- Docker, `Flask-Minify` (page compression)
18+
- `Deployment`
1919
- `CI/CD` flow via `Render`
2020

21-
<br />
22-
2321
![Argon Dashboard - Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/183684596-4b29a886-f13d-4da5-98d3-12b5b90df47f.png)
2422

2523
<br />
2624

27-
## Start the app in Docker
25+
## Start in `Docker`
2826

2927
> 👉 **Step 1** - Download the code from the GH repository (using `GIT`)
3028
@@ -45,7 +43,7 @@ Visit `http://localhost:5085` in your browser. The app should be up & running.
4543

4644
<br />
4745

48-
## Manual Build
46+
## Manual Build
4947

5048
> Download the code
5149
@@ -135,7 +133,7 @@ By default, the app redirects guest users to authenticate. In order to access th
135133

136134
<br />
137135

138-
## ✨ Code-base structure
136+
## ✅ Codebase
139137

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

@@ -188,7 +186,7 @@ The project is coded using blueprints, app factory pattern, dual configuration p
188186

189187
<br />
190188

191-
## Recompile SCSS
189+
## Recompile SCSS
192190

193191
To update the CSS, the recommended way is this:
194192

@@ -201,16 +199,14 @@ To update the CSS, the recommended way is this:
201199

202200
<br />
203201

204-
## PRO Version
202+
## PRO Version
205203

206204
> For more components, pages and priority on support, feel free to take a look at this amazing starter:
207205
208206
Argon Dashboard is a premium Bootstrap Design now available for download in Flask. Made of hundred of elements, designed blocks, and fully coded pages, Argon Dashboard PRO is ready to help you create stunning websites and web apps.
209207

210-
- 👉 [Argon Dashboard PRO Flask](https://appseed.us/product/argon-dashboard-pro/flask/) - Product Page
211-
- 👉 [Argon Dashboard PRO Flask](https://flask-argon-dashboard-pro.appseed-srv1.com/) - LIVE Demo
212-
213-
<br >
208+
- 👉 [Argon Dashboard PRO Flask](https://appseed.us/product/argon-dashboard2-pro/flask/) - Product Page
209+
- 👉 [Argon Dashboard PRO Flask](https://flask-argon-dash2-pro.onrender.com/) - LIVE Demo
214210

215211
![Argon Dashboard PRO - Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/172859139-621325fd-a235-4019-a75d-64a9a978da29.png)
216212

apps/config.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ class Config(object):
99

1010
basedir = os.path.abspath(os.path.dirname(__file__))
1111

12+
# Assets Management
13+
ASSETS_ROOT = os.getenv('ASSETS_ROOT', '/static/assets')
14+
1215
# Set up the App SECRET_KEY
1316
SECRET_KEY = os.getenv('SECRET_KEY', None)
1417
if not SECRET_KEY:
15-
SECRET_KEY = ''.join(random.choice( string.ascii_lowercase ) for i in range( 32 ))
16-
17-
# Assets Management
18-
ASSETS_ROOT = os.getenv('ASSETS_ROOT', '/static/assets')
18+
SECRET_KEY = ''.join(random.choice( string.ascii_lowercase ) for i in range( 32 ))
1919

2020
SQLALCHEMY_TRACK_MODIFICATIONS = False
2121

@@ -53,7 +53,7 @@ class Config(object):
5353
if USE_SQLITE:
5454

5555
# This will create a file in <app> FOLDER
56-
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'db.sqlite3')
56+
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'db.sqlite3')
5757

5858
class ProductionConfig(Config):
5959
DEBUG = False
@@ -63,6 +63,7 @@ class ProductionConfig(Config):
6363
REMEMBER_COOKIE_HTTPONLY = True
6464
REMEMBER_COOKIE_DURATION = 3600
6565

66+
6667
class DebugConfig(Config):
6768
DEBUG = True
6869

apps/templates/includes/fixed-plugin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ <h6 class="mb-0">Light / Dark</h6>
6060
href="https://appseed.us/support/">Get Support</a>
6161
<a class="btn btn-outline-dark w-100"
6262
target="_blank"
63-
href="https://appseed.us/product/argon-dashboard-pro/flask/">PRO Version</a>
63+
href="https://appseed.us/product/argon-dashboard2-pro/flask/">PRO Version</a>
6464
</div>
6565
</div>
6666
</div>

apps/templates/includes/sidenav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h6 class="mb-0">Need help?</h6>
9494
class="btn btn-dark btn-sm w-100 mb-3">Get Support</a>
9595
<a class="btn btn-primary btn-sm mb-0 w-100"
9696
target="_blank"
97-
href="https://appseed.us/product/argon-dashboard-pro/flask/" type="button">PRO Version</a>
97+
href="https://appseed.us/product/argon-dashboard2-pro/flask/" type="button">PRO Version</a>
9898
</div>
9999
</aside>
100100

env.sample

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ DEBUG=True
33

44
# Flask ENV
55
FLASK_APP=run.py
6-
FLASK_ENV=development
6+
FLASK_DEBUG=1
77
SECRET_KEY=YOUR_SUPER_KEY
88

99
# If DEBUG=False (production mode)
10-
DB_ENGINE=mysql
11-
DB_NAME=appseed_db
12-
DB_HOST=localhost
13-
DB_PORT=3306
14-
DB_USERNAME=appseed_db_usr
15-
DB_PASS=<STRONG_PASS>
10+
# DB_ENGINE=mysql
11+
# DB_NAME=appseed_db
12+
# DB_HOST=localhost
13+
# DB_PORT=3306
14+
# DB_USERNAME=appseed_db_usr
15+
# DB_PASS=<STRONG_PASS>

requirements.txt

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
flask==2.0.2
2-
Werkzeug==2.0.3
3-
jinja2==3.0.2
4-
flask_login==0.5.0
5-
flask_migrate==3.1.0
6-
WTForms==3.0.0
7-
flask_wtf==1.0.0
8-
flask_sqlalchemy==2.5.1
9-
sqlalchemy==1.4.29
10-
email_validator==1.1.3
11-
gunicorn==20.1.0
12-
flask-restx==0.5.1
1+
flask==2.2.5
2+
Werkzeug==2.3.7
3+
jinja2==3.1.2
4+
flask-login==0.6.2
5+
flask_migrate==4.0.4
6+
WTForms==3.0.1
7+
flask_wtf==1.2.1
8+
flask-sqlalchemy==3.0.5
9+
sqlalchemy==2.0.21
10+
email_validator==2.0.0
11+
flask-restx==1.1.0
12+
1313
python-dotenv==0.19.2
14+
15+
gunicorn==20.1.0
1416
Flask-Minify==0.37
1517

16-
#flask_mysqldb
18+
# flask_mysqldb
19+
# psycopg2-binary

run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232
Minify(app=app, html=True, js=False, cssless=False)
3333

3434
if DEBUG:
35-
app.logger.info('DEBUG = ' + str(DEBUG) )
35+
app.logger.info('DEBUG = ' + str(DEBUG) )
3636
app.logger.info('Page Compression = ' + 'FALSE' if DEBUG else 'TRUE' )
3737
app.logger.info('DBMS = ' + app_config.SQLALCHEMY_DATABASE_URI)
38+
app.logger.info('ASSETS_ROOT = ' + app_config.ASSETS_ROOT )
3839

3940
if __name__ == "__main__":
4041
app.run()

0 commit comments

Comments
 (0)