Skip to content

Commit 6dbcab4

Browse files
author
App Generator
committed
Release v1.0.2
1 parent b37a415 commit 6dbcab4

File tree

3 files changed

+73
-11
lines changed

3 files changed

+73
-11
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Change Log
22

3+
## [1.0.2] 2021-09-08
4+
### Improvements & Fixes
5+
6+
- Bump Django Codebase to [v2.0.2](https://github.com/app-generator/boilerplate-code-django-dashboard/releases)
7+
- Dependencies update (all packages)
8+
- Use Django==3.2.6 (latest stable version)
9+
- Better Code formatting
10+
- Improved Files organization
11+
- Optimize imports
12+
- Docker Scripts Update
13+
- Tooling: added scripts to recompile the SCSS files
14+
- `core/static/assets/` - gulpfile.js
15+
- `core/static/assets/` - package.json
16+
- `Update README` - [Recompile SCSS](https://github.com/app-generator/django-soft-ui-dashboard#recompile-css) (new section)
17+
- Fixes:
18+
- Patch 500 Error when authenticated users access `admin` path (no slash at the end)
19+
- Patch [#16](https://github.com/app-generator/boilerplate-code-django-dashboard/issues/16): Minor issue in Docker
20+
321
## [1.0.1] 2020-05-28
422
### Remove Media & Minor Fixes
523

README.md

Lines changed: 54 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,17 @@ The project is coded using a simple and intuitive structure presented bellow:
106106
| page-500.html # Error 404 page
107107
| *.html # All other HTML pages
108108
|
109-
|-- authentication/ # Handles auth routes (login and register)
109+
|-- apps/
110+
| |-- authentication/ # Handles auth routes (login and register)
111+
| | |
112+
| | |-- urls.py # Define authentication routes
113+
| | |-- views.py # Handles login and registration
114+
| | |-- forms.py # Define auth forms
110115
| |
111-
| |-- urls.py # Define authentication routes
112-
| |-- views.py # Handles login and registration
113-
| |-- forms.py # Define auth forms
114-
|
115-
|-- app/ # A simple app that serve HTML files
116-
| |
117-
| |-- views.py # Serve HTML pages for authenticated users
118-
| |-- urls.py # Define some super simple routes
116+
| |-- app/ # A simple app that serve HTML files
117+
| |
118+
| |-- views.py # Serve HTML pages for authenticated users
119+
| |-- urls.py # Define some super simple routes
119120
|
120121
|-- requirements.txt # Development modules - SQLite storage
121122
|
@@ -136,6 +137,49 @@ The project is coded using a simple and intuitive structure presented bellow:
136137

137138
<br />
138139

140+
## Recompile CSS
141+
142+
To recompile SCSS files, follow this setup:
143+
144+
<br />
145+
146+
**Step #1** - Install tools
147+
148+
- [NodeJS](https://nodejs.org/en/) 12.x or higher
149+
- [Gulp](https://gulpjs.com/) - globally
150+
- `npm install -g gulp-cli`
151+
- [Yarn](https://yarnpkg.com/) (optional)
152+
153+
<br />
154+
155+
**Step #2** - Change the working directory to `assets` folder
156+
157+
```bash
158+
$ cd core/static/assets
159+
```
160+
161+
<br />
162+
163+
**Step #3** - Install modules (this will create a classic `node_modules` directory)
164+
165+
```bash
166+
$ npm install
167+
// OR
168+
$ yarn
169+
```
170+
171+
<br />
172+
173+
**Step #4** - Edit & Recompile SCSS files
174+
175+
```bash
176+
$ gulp scss
177+
```
178+
179+
The generated file is saved in `static/assets/css` directory.
180+
181+
<br />
182+
139183
## Deployment
140184

141185
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).
@@ -158,7 +202,7 @@ $ cd django-soft-ui-dashboard
158202
$ sudo docker-compose pull && sudo docker-compose build && sudo docker-compose up -d
159203
```
160204

161-
Visit `http://localhost:5005` in your browser. The app should be up & running.
205+
Visit `http://localhost:85` in your browser. The app should be up & running.
162206

163207
> Create Django `superuser`
164208

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "django-soft-ui-dashboard",
33
"mastertemplate": "boilerplate-code-django-dashboard",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"description": "Template project - django Boilerplate Code",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)