Skip to content
Flask Dashboard SRTDash - Open-Source Admin Panel | AppSeed
JavaScript HTML CSS Python Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
migrations
nginx
tests
.dockerignore
.env
.eslintignore
.eslintrc
.gitignore
.travis.yml
Dockerfile
LICENSE.md
Procfile
README.md
config.py
docker-compose.yml
gunicorn-cfg.py
package.json
requirements-pgsql.txt
requirements.txt
requirements_dev.txt
run.py
runtime.txt
setup.cfg

README.md

Flask Dashboard SRTDash

Open-Source Admin Dashboard coded in Flask Framework on top of Black Dashboard design (free version) - Provided by AppSeed Web App Generator.

Dashboard Features:

  • SQLite, PostgreSQL, SQLAlchemy ORM
  • Alembic (DB schema migrations)
  • Modular design with Blueprints
  • Session-Based authentication (via flask_login), Forms validation
  • Deployment scripts: Docker, Gunicorn / Nginx
  • UI Kit: SRTDash Dashboard (Free version) provided by ColorLib
  • MIT License
  • Support: Free support via Github and (Paid) 24/7 LIVE Support via Discord

Dashboard Links


Want more? Go PRO!

PRO versions include Premium UI Kits, Lifetime updates and 24/7 LIVE Support (via Discord)

Flask Dashboard Material PRO Flask Dashboard Dashkit PRO Flask Dashboard Black PRO
Flask Dashboard Material PRO Flask Dashboard Dashkit PRO Flask Dashboard Black PRO


Flask Dashboard SRTDash - Open-Source Dashboard.


Build from sources

$ # Get the code
$ git clone https://github.com/app-generator/flask-dashboard-srtdash.git
$ cd flask-dashboard-srtdash
$
$ # Virtualenv modules installation (Unix based systems)
$ virtualenv --no-site-packages env
$ source env/bin/activate
$
$ # Virtualenv modules installation (Windows based systems)
$ # virtualenv --no-site-packages env
$ # .\env\Scripts\activate
$
$ # Install modules - SQLite Database
$ pip3 install -r requirements.txt
$
$ # OR with PostgreSQL connector
$ # pip install -r requirements-pgsql.txt
$
$ # Set the FLASK_APP environment variable
$ (Unix/Mac) export FLASK_APP=run.py
$ (Windows) set FLASK_APP=run.py
$ (Powershell) $env:FLASK_APP = ".\run.py"
$
$ # Set up the DEBUG environment
$ # (Unix/Mac) export FLASK_ENV=development
$ # (Windows) set FLASK_ENV=development
$ # (Powershell) $env:FLASK_ENV = "development"
$
$ # Start the application (development mode)
$ # --host=0.0.0.0 - expose the app on all network interfaces (default 127.0.0.1)
$ # --port=5000    - specify the app port (default 5000)  
$ flask run --host=0.0.0.0 --port=5000
$
$ # Access the dashboard in browser: http://127.0.0.1:5000/

Deployment

The app is provided with a basic configuration to be executed in Docker, Gunicorn, and Waitress.


Docker execution


The application can be easily executed in a docker container. The steps:

Get the code

$ git clone https://github.com/app-generator/flask-dashboard-srtdash.git
$ cd flask-dashboard-srtdash

Start the app in Docker

$ sudo docker-compose pull && sudo docker-compose build && sudo docker-compose up -d

Visit http://localhost:5000 in your browser. The app should be up & running. Visit http://localhost:5005 in your browser. The app should be up & running.


Gunicorn


Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.

Install using pip

$ pip install gunicorn

Start the app using gunicorn binary

$ gunicorn --bind 0.0.0.0:8001 run:app
Serving on http://localhost:8001

Visit http://localhost:8001 in your browser. The app should be up & running.


Waitress


Waitress (Gunicorn equivalent for Windows) is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones that live in the Python standard library.

Install using pip

$ pip install waitress

Start the app using waitress-serve

$ waitress-serve --port=8001 run:app
Serving on http://localhost:8001

Visit http://localhost:8001 in your browser. The app should be up & running.


Credits & Links


Flask Framework

Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions.


What is dashboard

In information technology, a dashboard is a user interface that, somewhat resembling an automobile's dashboard, organizes and presents information in a way that is easy to read. However, a computer dashboard is more likely to be interactive than an automobile dashboard (unless it is also computer-based). To some extent, most graphical user interfaces (GUIs) resemble a dashboard - by Techtarget


SRTDash Admin Panel

Srtdash is a free Bootstrap 4 HTML5 admin dashboard template. It is a perfect match for the website admin and web-apps. Srtdash has a modern design with a beautiful, clean and minimal look. There are two different types of navigation bar styles and three unique home versions - provided by ColorLib.



Flask Dashboard SRTDash - Provided by AppSeed Web App Generator.

You can’t perform that action at this time.