Skip to content

Commit 88ac663

Browse files
committed
Release v1.0.4
1 parent 99f7a5f commit 88ac663

File tree

329 files changed

+50208
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+50208
-0
lines changed

.env

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# True for development, False for production
2+
DEBUG=True
3+
4+
# Deployment SERVER address
5+
SERVER=.appseed.us
6+
7+
# Used for CDN (in production)
8+
# No Slash at the end
9+
ASSETS_ROOT=/static/assets

.gitignore

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
5+
# tests and coverage
6+
*.pytest_cache
7+
.coverage
8+
9+
# database & logs
10+
*.db
11+
*.sqlite3
12+
*.log
13+
14+
# venv
15+
env
16+
venv
17+
18+
# other
19+
.DS_Store
20+
21+
# javascript
22+
package-lock.json
23+
24+
staticfiles/*
25+
!staticfiles/.gitkeep
26+
.vscode/symbols.json
27+
28+
apps/static/assets/node_modules
29+
apps/static/assets/yarn.lock
30+
apps/static/assets/.temp
31+

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## [1.0.4] 2022-05-30
4+
### Improvements
5+
6+
- Built with [Soft UI Design Generator](https://appseed.us/generator/soft-ui-design/)
7+
- Timestamp: `2022-05-31 08:27`
8+
9+
310
## [1.0.3] 2022-01-17
411
### Improvements
512

Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:3.9
2+
3+
# set environment variables
4+
ENV PYTHONDONTWRITEBYTECODE 1
5+
ENV PYTHONUNBUFFERED 1
6+
7+
COPY requirements.txt .
8+
# install python dependencies
9+
RUN pip install --upgrade pip
10+
RUN pip install --no-cache-dir -r requirements.txt
11+
12+
COPY . .
13+
14+
# running migrations
15+
RUN python manage.py migrate
16+
17+
# gunicorn
18+
CMD ["gunicorn", "--config", "gunicorn-cfg.py", "core.wsgi"]

LICENSE.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# MIT License
2+
3+
Copyright (c) 2019 - present [AppSeed](http://appseed.us/)
4+
5+
<br />
6+
7+
## Licensing Information
8+
9+
<br />
10+
11+
| Item | - |
12+
| ---------------------------------- | --- |
13+
| License Type | MIT |
14+
| Use for print | **YES** |
15+
| Create single personal website/app | **YES** |
16+
| Create single website/app for client | **YES** |
17+
| Create multiple website/apps for clients | **YES** |
18+
| Create multiple SaaS applications | **YES** |
19+
| End-product paying users | **YES** |
20+
| Product sale | **YES** |
21+
| Remove footer credits | **YES** |
22+
| --- | --- |
23+
| Remove copyright mentions from source code | NO |
24+
| Production deployment assistance | NO |
25+
| Create HTML/CSS template for sale | NO |
26+
| Create Theme/Template for CMS for sale | NO |
27+
| Separate sale of our UI Elements | NO |
28+
29+
<br />
30+
31+
---
32+
For more information regarding licensing, please contact the AppSeed Service < *support@appseed.us* >

README.md

+235
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
# [Soft UI Design](https://appseed.us/generator/soft-ui-design/) Django
2+
3+
Open-source **Django App** generated by `AppSeed` op top of a modern design. Designed for those who like bold elements and beautiful websites, **[Soft UI Design](https://appseed.us/generator/soft-ui-design/)** is ready to help you create stunning websites and webapps. **Soft UI Design** is built with over 70 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.
4+
5+
- 👉 [Soft UI Design Django](https://appseed.us/product/soft-ui-design/django/) - Product page
6+
- 👉 [Soft UI Design Django](https://django-soft-ui-free.appseed-srv1.com/) - LIVE Demo
7+
8+
<br />
9+
10+
> Built with [Soft UI Design Generator](https://appseed.us/generator/soft-ui-design/)
11+
12+
- Timestamp: `2022-05-31 08:27`
13+
- Build ID: `cfbc5656-ff45-4715-9eb7-730110a1563d`
14+
- **Free [Support](https://appseed.us/support/)** (registered users) via `Email` and `Discord`
15+
16+
<br />
17+
18+
> Features
19+
20+
- `Up-to-date dependencies`
21+
- Database: `sqlite`
22+
- UI-Ready app, Django Native ORM
23+
- `Session-Based authentication`, Forms validation
24+
25+
<br />
26+
27+
![Soft UI Design - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168812602-e35bad42-823f-4d3e-9d13-87a6c06c5a63.png)
28+
29+
<br />
30+
31+
32+
## ✨ Start the app in Docker
33+
34+
> **Step 1** - Download the code from the GH repository (using `GIT`)
35+
36+
```bash
37+
$ # Get the code
38+
$ git clone https://github.com/app-generator/django-soft-ui-design.git
39+
$ cd django-soft-ui-design
40+
```
41+
42+
<br />
43+
44+
> **Step 2** - Edit `.env` and remove or comment all `DB_*` settings (`DB_ENGINE=...`). This will activate the `SQLite` persistance.
45+
46+
```txt
47+
DEBUG=True
48+
49+
# Deployment SERVER address
50+
SERVER=.appseed.us
51+
52+
# For MySql Persistence
53+
# DB_ENGINE=mysql <-- REMOVE or comment for Docker
54+
# DB_NAME=appseed_db <-- REMOVE or comment for Docker
55+
# DB_HOST=localhost <-- REMOVE or comment for Docker
56+
# DB_PORT=3306 <-- REMOVE or comment for Docker
57+
# DB_USERNAME=appseed_db_usr <-- REMOVE or comment for Docker
58+
# DB_PASS=<STRONG_PASS> <-- REMOVE or comment for Docker
59+
60+
```
61+
62+
<br />
63+
64+
> **Step 3** - Start the APP in `Docker`
65+
66+
```bash
67+
$ docker-compose up --build
68+
```
69+
70+
Visit `http://localhost:5085` in your browser. The app should be up & running.
71+
72+
<br />
73+
74+
75+
76+
77+
## ✨ How to use it
78+
79+
> Download the code
80+
81+
```bash
82+
$ # Get the code
83+
$ git clone https://github.com/app-generator/django-soft-ui-design.git
84+
$ cd django-soft-ui-design
85+
```
86+
87+
<br />
88+
89+
### 👉 Set Up for `Unix`, `MacOS`
90+
91+
> Install modules via `VENV`
92+
93+
```bash
94+
$ virtualenv env
95+
$ source env/bin/activate
96+
$ pip3 install -r requirements.txt
97+
```
98+
99+
<br />
100+
101+
> Set Up Database
102+
103+
```bash
104+
$ python manage.py makemigrations
105+
$ python manage.py migrate
106+
```
107+
108+
<br />
109+
110+
> Start the app
111+
112+
```bash
113+
$ python manage.py runserver
114+
```
115+
116+
At this point, the app runs at `http://127.0.0.1:8000/`.
117+
118+
<br />
119+
120+
### 👉 Set Up for `Windows`
121+
122+
> Install modules via `VENV` (windows)
123+
124+
```
125+
$ virtualenv env
126+
$ .\env\Scripts\activate
127+
$ pip3 install -r requirements.txt
128+
```
129+
130+
<br />
131+
132+
> Set Up Database
133+
134+
```bash
135+
$ python manage.py makemigrations
136+
$ python manage.py migrate
137+
```
138+
139+
<br />
140+
141+
> Start the app
142+
143+
```bash
144+
$ python manage.py runserver
145+
```
146+
147+
At this point, the app runs at `http://127.0.0.1:8000/`.
148+
149+
<br />
150+
151+
## ✨ Create Users
152+
153+
By default, the app redirects guest users to authenticate. In order to access the private pages, follow this set up:
154+
155+
- Start the app via `flask run`
156+
- Access the `registration` page and create a new user:
157+
- `http://127.0.0.1:8000/register/`
158+
- Access the `sign in` page and authenticate
159+
- `http://127.0.0.1:8000/login/`
160+
161+
<br />
162+
163+
## ✨ Code-base structure
164+
165+
The project is coded using a simple and intuitive structure presented below:
166+
167+
```bash
168+
< PROJECT ROOT >
169+
|
170+
|-- core/ # Implements app configuration
171+
| |-- settings.py # Defines Global Settings
172+
| |-- wsgi.py # Start the app in production
173+
| |-- urls.py # Define URLs served by all apps/nodes
174+
|
175+
|-- apps/
176+
| |
177+
| |-- home/ # A simple app that serve HTML files
178+
| | |-- views.py # Serve HTML pages for authenticated users
179+
| | |-- urls.py # Define some super simple routes
180+
| |
181+
| |-- authentication/ # Handles auth routes (login and register)
182+
| | |-- urls.py # Define authentication routes
183+
| | |-- views.py # Handles login and registration
184+
| | |-- forms.py # Define auth forms (login and register)
185+
| |
186+
| |-- static/
187+
| | |-- <css, JS, images> # CSS files, Javascripts files
188+
| |
189+
| |-- templates/ # Templates used to render pages
190+
| |-- includes/ # HTML chunks and components
191+
| | |-- navigation.html # Top menu component
192+
| | |-- sidebar.html # Sidebar component
193+
| | |-- footer.html # App Footer
194+
| | |-- scripts.html # Scripts common to all pages
195+
| |
196+
| |-- layouts/ # Master pages
197+
| | |-- base-fullscreen.html # Used by Authentication pages
198+
| | |-- base.html # Used by common pages
199+
| |
200+
| |-- accounts/ # Authentication pages
201+
| | |-- login.html # Login page
202+
| | |-- register.html # Register page
203+
| |
204+
| |-- home/ # UI Kit Pages
205+
| |-- index.html # Index page
206+
| |-- 404-page.html # 404 page
207+
| |-- *.html # All other pages
208+
|
209+
|-- requirements.txt # Development modules - SQLite storage
210+
|
211+
|-- .env # Inject Configuration via Environment
212+
|-- manage.py # Start the app - Django default start script
213+
|
214+
|-- ************************************************************************
215+
```
216+
217+
<br />
218+
219+
## ✨ PRO Version
220+
221+
> For more components, pages and priority on support, feel free to take a look at this amazing starter:
222+
223+
Soft UI Design is a premium Bootstrap 5 Design now available for download in Flask. Made of hundred of elements, designed blocks, and fully coded pages, Soft UI Design PRO is ready to help you create stunning websites and web apps.
224+
225+
- 👉 [Soft UI Design PRO Django](https://appseed.us/product/soft-ui-design-pro/django/) - Product Page
226+
- 👉 [Soft UI Design PRO Django](https://django-soft-ui-design-pro.appseed-srv1.com/) - LIVE Demo
227+
228+
<br >
229+
230+
![Soft UI Design (PRO Version) - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168812715-52e036b7-582d-4851-9657-6b1f99727619.png)
231+
232+
<br />
233+
234+
---
235+
[Soft UI Design](https://appseed.us/generator/soft-ui-design/) Django - Open-source starter generated by **[AppSeed Generator](https://appseed.us/generator/)**.

apps/__init__.py

Whitespace-only changes.

apps/authentication/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""

apps/authentication/admin.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""
5+
6+
from django.contrib import admin
7+
8+
# Register your models here.

apps/authentication/config.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
Copyright (c) 2019 - present AppSeed.us
4+
"""
5+
6+
from django.apps import AppConfig
7+
8+
9+
class AuthConfig(AppConfig):
10+
name = 'apps.auth'
11+
label = 'apps_auth'

0 commit comments

Comments
 (0)