Premium Django Dashboard generated by AppSeed
op top of a modern design. Datta Able is the most stylised Bootstrap 5
Admin Template.
It comes with high feature-rich pages and components with fully developer-centric code. Before developing Datta Able our key points were performance and design.
Product page
LIVE demo
Up-to-date dependencies
SQLite
, PgSQL, MySqlSession-Based authentication
Social Login
: GithubDocker
HTML and Video
format Docker
Step 1 - Download the code and unzip the sources (requires a
purchase
).
$ unzip django-datta-able-pro.zip
$ cd django-datta-able-pro
Step 2 - Start the APP in
Docker
# Optional (kill all existing containers)
$ docker container kill $(docker ps -q) ; docker container rm $(docker ps -a -q) ; docker network prune -f
# Start the APP
$ docker-compose up --build
Visit http://localhost:5085
in your browser. The app should be up & running.
.env
from env.sample
The meaning of each variable can be found below:
DEBUG
: if True
the app runs in develoment mode
False
should be usedMYSQL
credentials
DB_ENGINE
, default value = mysql
DB_NAME
, default value = appseed_db
DB_HOST
, default value = localhost
DB_PORT
, default value = 3306
DB_USERNAME
, default value = appseed_db_usr
DB_PASS
, default value = pass
OAuth
via Github
GITHUB_ID
=GITHUB_SECRET
=OAuth
via Google
GOOGLE_CLIENT_ID
=GOOGLE_SECRET_KEY
=Download the code and unzip the sources (requires a
purchase
).
$ unzip django-datta-able-pro.zip
$ cd django-datta-able-pro
Unix
, MacOS
Install modules via
VENV
$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt
Set Up Database
$ python manage.py makemigrations
$ python manage.py migrate
Create Superuser
$ python manage.py createsuperuser
Start the app
$ python manage.py runserver
At this point, the app runs at http://127.0.0.1:8000/
.
Windows
Install modules via
VENV
(windows)
$ virtualenv env
$ .\env\Scripts\activate
$ pip3 install -r requirements.txt
Set Up Database
$ python manage.py makemigrations
$ python manage.py migrate
Start the app
$ python manage.py runserver
At this point, the app runs at http://127.0.0.1:8000/
.
By default, the app redirects guest users to authenticate. In order to access the private pages, follow this set up:
registration
page and create a new user:
http://127.0.0.1:8000/register/
sign in
page and authenticate
http://127.0.0.1:8000/login/
redis://localhost:6379
$ redis-cli
and type ping
tasks_scripts
folder you need to write your scripts file.$ export DJANGO_SETTINGS_MODULE="core.settings"
$ celery -A apps.tasks worker -l info -B
Apps -> Tasks
in the sidebar.π Github Setup - Create an OAuth App
Github
Settings
-> Developer Settings
-> OAuth Apps
App Name
App Description
HomePage
: https://localhost:8000
Authorization callback URL
: https://localhost:8000/
secret key
Software Prerequisites (Docker & NodeJS)
docker info
on a terminal screen. v20.5.0
or above.
node --version
Running
tests
on Linux/macOS
$ test.sh
Running
tests
on Windows
$ test.bat
The testing report is saved in the test_reports
directory in HTML and Video Format.
The project is coded using a simple and intuitive structure presented below:
< PROJECT ROOT >
|
|-- core/ # Implements app configuration
| |-- settings.py # Defines Global Settings
| |-- wsgi.py # Start the app in production
| |-- urls.py # Define URLs served by all apps/nodes
|
|-- home/ # Serves all pages from the UI Kit
|
|-- apps/
| |
| |-- common/ # Assets used by all APPS (models, helpers)
| |-- users/ # Handles Auth Flow
| |-- api/ # DRF API
| |-- charts/ # Charts APP
| |-- tables/ # DataTables APP
| |-- tasks/ # Celery App
|
|-- templates/ # Pages & Templates
|-- assets/ # Static Assets [ JS, CSS, images ]
|
|-- requirements.txt # Development modules - SQLite storage
|
|-- .env # Environment
|-- env.sample # Environment Sample
|
|-- manage.py # Django Manager File
|
|-- ************************************************************************
Datta Able PRO Django - Starter crafted by AppSeed.