Giter Club home page Giter Club logo

django-coreui's Introduction

Open-source Django Dashboard generated by AppSeed on top of an iconic design. For newcomers, CoreUI is one of the best open-source admin dashboard & control panel themes. Built on top of Bootstrap, CoreUI provides a range of responsive, reusable, and commonly used components.


Features

Have questions? Contact Support (Email & Discord) provided by AppSeed

Free Version PRO Version Custom Development
โœ“ Django 4.2.9 Everything in Free, plus: Everything in PRO, plus:
โœ“ Best Practices โœ… Premium Bootstrap 5 Design โœ… 1mo Custom Development
โœ“ Bootstrap 4, Material Design โœ… OAuth Google, GitHub โœ… Team: PM, Developer, Tester
โœ“ CI/CD Flow via Render โœ… API, Charts โœ… Weekly Sprints
โœ“ Docker โœ… DataTables (Filters, Export) โœ… Technical SPECS
- โœ… Celery โœ… Documentation
- โœ… Media Files Manager โœ… 30 days Delivery Warranty
- โœ… Extended User Profiles -
- โœ… Private REPO Access -
- โœ… PRO Support - Email & Discord -
- โœ… Deployment Assistance -
------------------------------------ ------------------------------------ ------------------------------------
โœ“ LIVE Demo ๐Ÿš€ LIVE Demo ๐Ÿ›’ Order: $4,999 (GUMROAD)

CoreUI Dashboard - Starter generated by AppSeed.


โœจ Start the app in Docker

Step 1 - Download the code from the GH repository (using GIT)

$ git clone https://github.com/app-generator/django-coreui.git
$ cd django-coreui

Step 2 - Start the APP in Docker

$ docker-compose up --build 

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


โœจ How to use it

Download the code

$ git clone https://github.com/app-generator/django-coreui.git
$ cd django-coreui

๐Ÿ‘‰ Set Up for Unix, MacOS

Install modules via VENV

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

Install JS Dependencies

$ cd static/assets
$ npm i 

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/.


๐Ÿ‘‰ Set Up for 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/.


๐Ÿ‘‰ Create Users

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

  • Start the app via flask run
  • Access the registration page and create a new user:
    • http://127.0.0.1:8000/register/
  • Access the sign in page and authenticate
    • http://127.0.0.1:8000/login/

โœจ Code-base structure

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
   |
   |-- apps/
   |    |
   |    |-- home/                          # A simple app that serve HTML files
   |    |    |-- views.py                  # Serve HTML pages for authenticated users
   |    |    |-- urls.py                   # Define some super simple routes  
   |    |
   |    |-- authentication/                # Handles auth routes (login and register)
   |    |    |-- urls.py                   # Define authentication routes  
   |    |    |-- views.py                  # Handles login and registration  
   |    |    |-- forms.py                  # Define auth forms (login and register) 
   |    |
   |    |-- static/
   |    |    |-- <css, JS, images>         # CSS files, Javascripts files
   |    |
   |    |-- templates/                     # Templates used to render pages
   |         |-- includes/                 # HTML chunks and components
   |         |    |-- navigation.html      # Top menu component
   |         |    |-- sidebar.html         # Sidebar component
   |         |    |-- footer.html          # App Footer
   |         |    |-- scripts.html         # Scripts common to all pages
   |         |
   |         |-- layouts/                   # Master pages
   |         |    |-- base-fullscreen.html  # Used by Authentication pages
   |         |    |-- base.html             # Used by common pages
   |         |
   |         |-- accounts/                  # Authentication pages
   |         |    |-- login.html            # Login page
   |         |    |-- register.html         # Register page
   |         |
   |         |-- home/                      # UI Kit Pages
   |              |-- index.html            # Index page
   |              |-- 404-page.html         # 404 page
   |              |-- *.html                # All other pages
   |
   |-- requirements.txt                     # Development modules - SQLite storage
   |
   |-- .env                                 # Inject Configuration via Environment
   |-- manage.py                            # Start the app - Django default start script
   |
   |-- ************************************************************************

PRO Version

For more components, pages, and priority on support, feel free to take a look at this amazing starter:

Soft UI Dashboard is a premium Bootstrap 5 Design now available for download in Django. Made of hundred of elements, designed blocks, and fully coded pages, Soft UI Dashboard PRO is ready to help you create stunning websites and web apps.


Soft UI Dashboard PRO - Starter generated by AppSeed.



CoreUI Django - Open-source Django Template crafted by AppSeed.

django-coreui's People

Contributors

app-generator avatar ersanjay5991 avatar mominur-helios avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

django-coreui's Issues

URL namespace 'admin' isn't unique.

While i am installing this project i got an error

?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace

mainly, this error came when you try to make the migrations "python manage.py makemigrations".

successfully migrated but not opening any page

NoReverseMatch at /register/
Reverse for 'login' not found. 'login' is not a valid view function or pattern name

NoReverseMatch at /register/

Reverse for 'login' not found. 'login' is not a valid view function or pattern name.
Request Method: GET
http://127.0.0.1:8000/register/
2.2.10
NoReverseMatch
Reverse for 'login' not found. 'login' is not a valid view function or pattern name.
/home/tbs/Documents/workspace/django-dashboard-coreui/venv_coreui/lib/python3.8/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673
/home/tbs/Documents/workspace/django-dashboard-coreui/venv_coreui/bin/python
3.8.5
['/home/tbs/Documents/workspace/django-dashboard-coreui/django-dashboard-coreui', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/tbs/Documents/workspace/django-dashboard-coreui/venv_coreui/lib/python3.8/site-packages']
Sun, 18 Jul 2021 05:46:08 +0000

Heroku Deployed config not work smooth

Code deployed after change the runtime.txt => python-3.9.6

when i open the app

Bad Request (400)

Error log

2021-07-18T17:25:34.554142+00:00 app[web.1]: [2021-07-18 17:25:34 +0000] [4] [INFO] Starting gunicorn 20.1.0
2021-07-18T17:25:34.554790+00:00 app[web.1]: [2021-07-18 17:25:34 +0000] [4] [INFO] Listening at: http://0.0.0.0:55197 (4)
2021-07-18T17:25:34.554950+00:00 app[web.1]: [2021-07-18 17:25:34 +0000] [4] [INFO] Using worker: sync
2021-07-18T17:25:34.564565+00:00 app[web.1]: [2021-07-18 17:25:34 +0000] [7] [INFO] Booting worker with pid: 7
2021-07-18T17:25:34.653918+00:00 app[web.1]: [2021-07-18 17:25:34 +0000] [8] [INFO] Booting worker with pid: 8
2021-07-18T17:25:34.916092+00:00 heroku[web.1]: State changed from starting to up
2021-07-18T17:25:38.925242+00:00 heroku[router]: at=info method=GET path="/" host=tm-sys-dashbobord.herokuapp.com request_id=b79ca159-3d10-4ead-9ee7-da67198c4182 fwd="49.34.89.210" dyno=web.1 connect=0ms service=100ms status=400 bytes=192 protocol=https
2021-07-18T17:25:38.925676+00:00 app[web.1]: 10.63.104.194 - - [18/Jul/2021:17:25:38 +0000] "GET / HTTP/1.1" 400 26 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
2021-07-18T17:25:40.490198+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=tm-sys-dashbobord.herokuapp.com request_id=457320dd-911b-424e-b234-e5be9fac43ca fwd="49.34.89.210" dyno=web.1 connect=0ms service=85ms status=400 bytes=192 protocol=https
2021-07-18T17:25:40.491955+00:00 app[web.1]: 10.63.104.194 - - [18/Jul/2021:17:25:40 +0000] "GET /favicon.ico HTTP/1.1" 400 26 "https://tm-sys-dashbobord.herokuapp.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"

url namespace warnings


WARNINGS:
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.