gnud / dashboardkit-django-boilerplate

Attempt to make a boilerplate for universal Dashboard kit integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boilerplate for any dashboard integration

Features

  • Using forms from the UI-kit
  • Using other components from the UI-kit
  • Having layout + charts
  • Table model integration via iommi

Significant files

  • core/templates/iommi_base.html
  • core/templates/promotions.html
  • core/templates/promotions.html
  • core/templates/includes/sidebar.html
  • app/views.py MyPage for Products page
  • app/views.py IndexPage for Promotions grid page

Development

Prepare local env

virtualenv -p python3.8 venv

. venv/bin/activate

pip install -r requirements.txt

Prepare Django

./manage.py migrate

./manage.py createsuperuser

Fixture initial data

./manage.py loaddata app/fixtures/store.json
./manage.py loaddata app/fixtures/product.json

Run project

./manage.py runserver 0.0.0.0:8001

About

Attempt to make a boilerplate for universal Dashboard kit integration.


Languages

Language:CSS 65.8%Language:HTML 30.6%Language:Python 2.2%Language:JavaScript 1.4%