https://github.com/app-generator/flask-dashboard-argon-pro
Flask Dashboard - Argon Design PRO | AppSeed App Generator
https://github.com/app-generator/flask-dashboard-argon-pro
admin-dashboard appseed commercial flask-dashboard web-app-generator
Last synced: about 1 month ago
JSON representation
Flask Dashboard - Argon Design PRO | AppSeed App Generator
- Host: GitHub
- URL: https://github.com/app-generator/flask-dashboard-argon-pro
- Owner: app-generator
- License: other
- Created: 2019-10-22T05:17:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T14:43:31.000Z (over 2 years ago)
- Last Synced: 2025-04-06T18:13:27.217Z (about 1 month ago)
- Topics: admin-dashboard, appseed, commercial, flask-dashboard, web-app-generator
- Homepage: https://appseed.us/product/argon-dashboard-pro/flask/
- Size: 1.32 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Flask Argon PRO](https://appseed.us/product/argon-dashboard-pro/flask/)
Admin Dashboard generated by the AppSeed platform in **Flask Framework** on top of [Argon Dashboard PRO](https://appseed.us/product/argon-dashboard-pro/flask/), a modern Bootstrap 4 dashboard template. The Flask codebase is provided with authentication, database, ORM and deployment scripts.
- 👉 [Flask Argon PRO](https://appseed.us/product/argon-dashboard-pro/flask/) - `Product page`
- 👉 [Flask Argon PRO](https://flask-argon-dashboard-pro.appseed-srv1.com/) - `LIVE Demo`
- 👉 [Flask Argon PRO](https://docs.appseed.us/products/flask-dashboards/argon-dashboard-pro/) - `official docs`
> Features
- ✅ UI Kit: [Argon Dashboard PRO](../../content/bootstrap-template/argon-dashboard-pro.mdx) (premium version)
- ✅ DBMS: SQLite, PostgreSQL (production)
- ✅ DB Tools: SQLAlchemy ORM, Flask-Migrate (schema
- ✅ Session-Based authentication (via **flask_login**)

## Quick Start in `Docker`
> Download and unzip the code (requires a `purchase`)
```bash
$ unzip flask-dashboard-argon-pro.zip
$ cd flask-dashboard-argon-pro
```> Start the app in Docker
```bash
$ docker-compose up --build
```Visit `http://localhost:5085` in your browser. The app should be up & running.
## Manual Build
> Download and unzip the code (requires a `purchase`)
```bash
$ unzip flask-dashboard-argon-pro.zip
$ cd flask-dashboard-argon-pro
```### 👉 Set Up for `Unix`, `MacOS`
> Install modules via `VENV`
```bash
$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt
```> Set Up Flask Environment
```bash
$ export FLASK_APP=run.py
$ export FLASK_ENV=development
```> Start the app
```bash
$ flask run
```At this point, the app runs at `http://127.0.0.1:5000/`.
### 👉 Set Up for `Windows`
> Install modules via `VENV` (windows)
```
$ virtualenv env
$ .\env\Scripts\activate
$ pip3 install -r requirements.txt
```> Set Up Flask Environment
```bash
$ # CMD
$ set FLASK_APP=run.py
$ set FLASK_ENV=development
$
$ # Powershell
$ $env:FLASK_APP = ".\run.py"
$ $env:FLASK_ENV = "development"
```> Start the app
```bash
$ flask run
```At this point, the app runs at `http://127.0.0.1:5000/`.
## Codebase structure
The project is coded using a simple and intuitive structure presented below:
```bash
< PROJECT ROOT >
|
|-- apps/
| |
| |-- home/ # A simple app that serve HTML files
| | |-- routes.py # Define app routes
| |
| |-- authentication/ # Handles auth routes (login and register)
| | |-- routes.py # Define authentication routes
| | |-- models.py # Defines models
| | |-- forms.py # Define auth forms (login and register)
| |
| |-- static/
| | |-- # CSS files, Javascripts files
| |
| |-- templates/ # Templates used to render pages
| | |-- includes/ # HTML chunks and components
| | | |-- navigation.html # Top menu component
| | | |-- sidebar.html # Sidebar component
| | | |-- footer.html # App Footer
| | | |-- scripts.html # Scripts common to all pages
| | |
| | |-- layouts/ # Master pages
| | | |-- base-fullscreen.html # Used by Authentication pages
| | | |-- base.html # Used by common pages
| | |
| | |-- accounts/ # Authentication pages
| | | |-- login.html # Login page
| | | |-- register.html # Register page
| | |
| | |-- home/ # UI Kit Pages
| | |-- index.html # Index page
| | |-- 404-page.html # 404 page
| | |-- *.html # All other pages
| |
| config.py # Set up the app
| __init__.py # Initialize the app
|
|-- requirements.txt # App Dependencies
|
|-- .env # Inject Configuration via Environment
|-- run.py # Start the app - WSGI gateway
|
|-- ************************************************************************
```
---
[Flask Argon PRO](https://appseed.us/product/argon-dashboard-pro/flask/) - Provided by **[AppSeed](https://appseed.us/app-generator)**.