Skip to content

Commit da672a6

Browse files
committed
UPD - Django MaterialPRO Lite
1 parent 719c8b8 commit da672a6

File tree

1 file changed

+187
-28
lines changed

1 file changed

+187
-28
lines changed
Lines changed: 187 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,206 @@
11
---
2-
title: Django MaterialPro Lite - Open-Source Starter
3-
sidebar_label: Django MaterialPro Lite
2+
title: Django MaterialPro - Open-Source Starter
3+
sidebar_label: Django MaterialPro
44
---
55

6-
# [Django MaterialPro Lite ](https://appseed.us/product/material-wpx/django/)
6+
# [Django MaterialPro](https://appseed.us/product/material-wpx/django/) `WPX`
77

8-
<SubHeading>Admin dashboard generated by AppSeed in Django on top of MaterialPro design (Lite version).</SubHeading>
8+
<SubHeading> Admin dashboard generated by AppSeed in Django on top of MaterialPro design (Free Version).</SubHeading>
99

10-
WrapPixel's **MaterialPro Bootstrap Lite** is a modern Bootstrap template inspired by Google Material design principles integrated with the essential Bootstrap components and UI elements. &#x20;
10+
WrapPixels **MaterialPro Bootstrap Admin** is an open-source bootstrap material design template that comes packed with new, fresh, and attractive designs and ready-to-use components.
1111

12-
> Features
12+
- 👉 [Django Material Lite](https://appseed.us/product/material-wpx/django/) - `Product Page`
13+
- 👉 [Django Material Lite](https://django-materialpro-lite.appseed-srv1.com) - `LIVE Demo`
1314

14-
- Codebase - [Django Dashboard Boilerplate](../../boilerplate-code/starters/django-dashboard.mdx)
15-
- UI Kit: [MaterialPro Lite](../../content/bootstrap-template/materialpro-lite.mdx) (free version)&#x20;
16-
- SQLite Database, Django Native ORM
17-
- Session-Based Authentication, Forms validation
18-
- Deployment scripts: Docker, Gunicorn/Nginx&#x20;
15+
:::info [**v1.0.2**](https://github.com/app-generator/django-materialpro-lite/releases) - release date `2022-01-20`
16+
:::
1917

20-
> Links
18+
<br />
2119

22-
- [MaterialPro Lite Django](https://appseed.us/product/material-wpx/django/) - product page
23-
- [MaterialPro Lite Django](https://github.com/app-generator/django-dashboard-material-lite) - source code&#x20;
24-
- [MaterialPro Lite Django](https://django-dashboard-material-lite.appseed.us/) - LIVE Demo&#x20;
20+
> **Features**
2521
26-
> [Support](https://appseed.us/support) (Email and LIVE on Discord) for **registered** [**AppSeed**](https://appseed.us/) **users**.
22+
- ✅ UI Kit: **Material PRO Dashboard** (Lite Version) provided by **[WrapPixel](https://www.wrappixel.com/?ref=157)**
23+
- ✅ SQLite Database, Django Native ORM
24+
- ✅ Modular design, clean codebase
25+
- ✅ Session-Based Authentication, Forms validation
26+
- ✅ Deployment scripts: Docker, Gunicorn / Nginx
2727

28-
### What is Django
28+
![Material Dashboard (WPX) - Free Dashboard Template](https://github.com/app-generator/dummy/assets/51070104/411e6b0c-cee9-4806-9f24-f8f470213e37)
2929

30-
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.
30+
<br />
3131

32-
> Read more about [Django Framework](../../content/what-is/django.mdx)
32+
## Environment
3333

34-
### How to use the App
34+
To use the starter, [Python3](https://www.python.org) should be installed properly in the workstation.
35+
If you are not sure if Python is installed, please open a terminal and type `python --version`. Here is the full list with dependencies and tools required to build the app:
3536

36-
- [Set up the environment](../../boilerplate-code/starters/django-dashboard.mdx#environment-1) - prepare your workstation for **Django**
37-
- [Compile the sources](../../boilerplate-code/starters/django-dashboard.mdx#build-the-app-1) - start this **Django** app in the local environment
38-
- [App Codebase](../../boilerplate-code/starters/django-dashboard.mdx#app-codebase) - how the project files are organized
39-
- [App Configuration](../../boilerplate-code/starters/django-dashboard.mdx#app-configuration) - how to configure this **Django** application
37+
- [Python3](https://www.python.org) - the programming language used to code the app
38+
- [GIT](https://git-scm.com) - used to clone the source code from the Github repository
39+
- Basic development tools (g++ compiler, python development libraries ..etc) used by Python to compile the app dependencies in your environment.
40+
- (Optional) `Docker` - a popular virtualization software
4041

41-
### **MaterialPro Lite** - UI Kit
42+
<br />
4243

43-
Material Pro Bootstrap is simplicity personified, the elegant user interface makes developing apps and websites a breeze. There are a host of options to tweak the layout as per your choice and create a fluid user interface that's exceptionally easy to use. Since it is designed as per Material principles, you can be assured that the template is lightning fast to load, cross-browser compatible, and renders well on screens of all sizes.&#x20;
44+
## Start in `Docker`
4445

45-
- [MaterialPro Lite](https://bit.ly/2ZJuiMR) - product page hosted by [WrapPixel](../../content/partners/wrappixel.mdx)
46+
> 👉 **Step 1** - Download the [source code](https://github.com/app-generator/django-materialpro-lite) from the GH repository (using `GIT`)
4647
47-
![MaterialPro Lite - Free Bootstrap Template.](../../../static/assets/docs-materialpro-lite-screen.jpg)
48+
```bash
49+
$ git clone https://github.com/app-generator/django-materialpro-lite.git
50+
$ cd django-materialpro-lite
51+
```
52+
53+
> 👉 **Step 2** - Start the APP in `Docker`
54+
55+
```bash
56+
$ docker-compose up --build
57+
```
58+
59+
Visit `http://localhost:5085` in your browser. The app should be up & running.
60+
61+
<br />
62+
63+
## Manual Build
64+
65+
> 👉 **Step 1** - Download the [source code](https://github.com/app-generator/django-materialpro-lite) from the GH repository (using `GIT`)
66+
67+
```bash
68+
$ git clone https://github.com/app-generator/django-materialpro-lite.git
69+
$ cd django-materialpro-lite
70+
```
71+
72+
73+
### 👉 Set Up for `Unix`, `MacOS`
74+
75+
> Install modules via `VENV`
76+
77+
```bash
78+
$ virtualenv env
79+
$ source env/bin/activate
80+
$ pip3 install -r requirements.txt
81+
```
82+
83+
> Set Up Database
84+
85+
```bash
86+
$ python manage.py makemigrations
87+
$ python manage.py migrate
88+
```
89+
90+
> Start the app
91+
92+
```bash
93+
$ python manage.py runserver
94+
```
95+
96+
At this point, the app runs at `http://127.0.0.1:8000/`.
97+
98+
99+
### 👉 Set Up for `Windows`
100+
101+
> Install modules via `VENV` (windows)
102+
103+
```
104+
$ virtualenv env
105+
$ .\env\Scripts\activate
106+
$ pip3 install -r requirements.txt
107+
```
108+
109+
> Set Up Database
110+
111+
```bash
112+
$ python manage.py makemigrations
113+
$ python manage.py migrate
114+
```
115+
116+
> Start the app
117+
118+
```bash
119+
$ python manage.py runserver
120+
```
121+
122+
At this point, the app runs at `http://127.0.0.1:8000/`.
123+
124+
<br />
125+
126+
## Manage App `Users`
127+
128+
By default, the starter is not provided with users. To access the private pages and the admin section (reserved for `superusers`) follow up the next sections.
129+
130+
### 👉 Create `Superusers`
131+
132+
To access the `admin` section, Django requires `superuser` privilegies. Let's create a new `superuser` and access the `admin` section of the project:
133+
134+
```bash
135+
$ python manage.py createsuperuser
136+
```
137+
138+
Once the `superuser` is successfully created, we can access the `admin` section:
139+
140+
`http://localhost:8000/admin/` (make sure you have a `/` at the end).
141+
142+
<br />
143+
144+
## Codebase Structure
145+
146+
The project is coded using a simple and intuitive structure presented below:
147+
148+
```bash
149+
< PROJECT ROOT >
150+
|
151+
|-- core/ # Implements app configuration
152+
| |-- settings.py # Defines Global Settings
153+
| |-- wsgi.py # Start the app in production
154+
| |-- urls.py # Define URLs served by all apps/nodes
155+
|
156+
|-- apps/
157+
| |
158+
| |-- home/ # A simple app that serve HTML files
159+
| | |-- views.py # Serve HTML pages for authenticated users
160+
| | |-- urls.py # Define some super simple routes
161+
| |
162+
| |-- authentication/ # Handles auth routes (login and register)
163+
| | |-- urls.py # Define authentication routes
164+
| | |-- views.py # Handles login and registration
165+
| | |-- forms.py # Define auth forms (login and register)
166+
| |
167+
| |-- static/
168+
| | |-- <css, JS, images> # CSS files, Javascripts files
169+
| |
170+
| |-- templates/ # Templates used to render pages
171+
| |-- includes/ # HTML chunks and components
172+
| | |-- navigation.html # Top menu component
173+
| | |-- footer.html # App Footer
174+
| | |-- scripts.html # Scripts common to all pages
175+
| |
176+
| |-- layouts/ # Master pages
177+
| | |-- base.html # Used by common pages
178+
| |
179+
| |-- accounts/ # Authentication pages
180+
| | |-- login.html # Login page
181+
| | |-- register.html # Register page
182+
| |
183+
| |-- home/ # UI Kit Pages
184+
| |-- index.html # Index page
185+
| |-- page-404.html # 404 page
186+
| |-- *.html # All other pages
187+
|
188+
|-- requirements.txt # Development modules - SQLite storage
189+
|
190+
|-- .env # Inject Configuration via Environment
191+
|-- manage.py # Start the app - Django default start script
192+
|
193+
|-- ************************************************************************
194+
```
195+
196+
<br />
197+
198+
## Resources
199+
200+
- 👉 Free [Support](https://appseed.us/support/) via Email & Discord
201+
- 👉 [Custom Development Services](https://appseed.us/custom-development/) provided by experts
202+
- 🚀 [Django Datta Able PRO](https://appseed.us/product/datta-able-pro/django/) - `Premium Version`
203+
-`Enhanced UI` - more pages and components
204+
-`Priority` on support
205+
206+
![Datta Able PRO - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/170474361-a58da82b-fff9-4a59-81a8-7ab99f478f48.png)

0 commit comments

Comments
 (0)