Home

Awesome

Django Volt PRO

Django Dashboard coded with basic modules, database, ORM, and deployment scripts on top of Volt Dashboard PRO (premium version), a modern Bootstrap dashboard design. Volt Pro is a premium Bootstrap 5 Admin Dashboard featuring over 800 components, 20 example pages and 10 fully customized plugin written in Vanilla Javascript.

<br />

Features

Volt PRO - Full-Stack Starter generated by AppSeed.

<br />

Start in Docker

Step 1 - Download the code and unzip the sources (requires a purchase).

$ unzip django-volt-dashboard-pro.zip
$ cd django-volt-dashboard-pro
<br />

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.

<br />

Create new .env from env.sample

The meaning of each variable can be found below:

<br />

Manual Build

Step 1 - Download the code and unzip the sources (requires a purchase).

$ unzip django-volt-dashboard-pro.zip
$ cd django-volt-dashboard-pro
<br />

👉 Set Up for Unix, MacOS

Install modules via VENV

$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt
<br />

Set Up Database

$ python manage.py makemigrations
$ python manage.py migrate
<br />

Create Superuser

$ python manage.py createsuperuser
<br />

Start the app

$ python manage.py runserver

At this point, the app runs at http://127.0.0.1:8000/.

<br />

👉 Set Up for Windows

Install modules via VENV (windows)

$ virtualenv env
$ .\env\Scripts\activate
$ pip3 install -r requirements.txt
<br />

Set Up Database

$ python manage.py makemigrations
$ python manage.py migrate
<br />

Start the app

$ python manage.py runserver

At this point, the app runs at http://127.0.0.1:8000/.

<br />

👉 Create Users

By default, the app redirects guest users to authenticate. In order to access the private pages, follow this set up:

<br />

Start Celery (async task)

$ export DJANGO_SETTINGS_MODULE="core.settings"  
$ celery -A apps.tasks worker -l info -B
<br />

Enable Social Login

👉 Github Setup - Create an OAuth App

<br />

Codebase

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
   |
   |-- ************************************************************************
<br />

Django Volt PRO - Starter crafted by AppSeed.