Skip to content

Commit e6c4626

Browse files
committed
Update Settings
1 parent 22baa2b commit e6c4626

File tree

9 files changed

+11625
-7
lines changed

9 files changed

+11625
-7
lines changed

.gitignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@ venv
1919
.DS_Store
2020

2121
# javascript
22-
package-lock.json
22+
#package-lock.json
23+
#yarn.lock
2324

2425
staticfiles/*
2526
!staticfiles/.gitkeep
2627
.vscode/symbols.json
2728

28-
apps/static/assets/node_modules
29-
apps/static/assets/yarn.lock
30-
apps/static/assets/.temp
31-
29+
static/assets/node_modules
30+
static/assets/.temp

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55

66
- Added CoreUI Theme
77
- Codebase refactoring
8-
- Added CI/Cd for Render
8+
- Added CI/Cd for Render
9+
- Update Settings
10+
- Local Templates
11+
- Local Assets
912

1013
## [1.0.5] 2022-06-01
1114
### Changes

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ $ source env/bin/activate
7373
$ pip3 install -r requirements.txt
7474
```
7575

76+
> Install JS Dependencies
77+
78+
```bash
79+
$ cd static/assets
80+
$ npm i
81+
```
82+
7683
<br />
7784

7885
> Set Up Database

core/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@
157157
STATIC_URL = '/static/'
158158
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
159159

160+
STATICFILES_DIRS = (
161+
os.path.join(BASE_DIR, 'static'),
162+
)
163+
160164
#if not DEBUG:
161165
# STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
162166

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ python-dotenv==1.0.1
44
str2bool==1.1
55

66
# UI
7-
django-admin-coreui==0.0.2
7+
django-admin-coreui==0.0.6
88

99
# Deployment
1010
whitenoise==6.6.0

0 commit comments

Comments
 (0)