Basic dashboard app with AdminLTE template and Flask-Admin, it has:
- User Registration.
- Login as general or admin user.
- Roles management.
- Create form in modal window by default.
- Inline editing enabled by default.
- Skins and layout customization.
- Dashboard, charts, chat and calendar examples.
There are using many utilities, as the following:
- AdminLTE Bootstrap template.
- Flask-Security.
- Flask-Admin.
- A lot of Charts libraries.
- SQLite.
Please execute the following commands:
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install -y python3-dev python3-pip python3-virtualenv
$ sudo apt install -y git
$ sudo apt install -y sqlite3
To use it following the steps:
- Clone or download the git repository.
$ git clone https://github.com/macagua/example.flask.admin-dashboard.git flask-admin-dashboard $ cd ./flask-admin-dashboard
- Create and activate a virtual environment:
$ virtualenv --python /usr/bin/python3 venv $ source ./venv/bin/activate
- Install the requirements inside the app folder
$ pip3 install -U pip $ pip3 install -r requirements.txt
- Once the process finishes give execution permission to app.py file and run it
$ python3 ./app.py
- The first execution will create automatically a sample sqlite database.
- Open at your favorite Web browser the following link http://127.0.0.1:5000/admin
then just log in with the default user (user as
admin
and password asadmin
) or register one new user.
There are some screenshots about the Flask-Admin Dashboard Example.
I hope you enjoy it.
This project is licensed under the MIT License - see the LICENSE file for details.