Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Build the client-side and configure it
Browse files Browse the repository at this point in the history
  • Loading branch information
markmacw committed Oct 11, 2024
1 parent 0e5ed0c commit 032739f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
12 changes: 10 additions & 2 deletions server/djangoproj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,21 @@
ROOT_URLCONF = 'djangoproj.urls'

STATICFILES_DIRS = [
os.path.join(BASE_DIR,'frontend/static')
os.path.join(BASE_DIR, 'frontend/static'),
os.path.join(BASE_DIR, 'frontend/build'),
os.path.join(BASE_DIR, 'frontend/build/static'),
]

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR,'templates')],
'DIRS': [
os.path.join(BASE_DIR, 'templates'),
os.path.join(BASE_DIR, 'frontend/static'),
os.path.join(BASE_DIR, 'frontend/build'),
os.path.join(BASE_DIR, 'frontend/build/static'),

],

'APP_DIRS': True,
'OPTIONS': {
Expand Down
28 changes: 25 additions & 3 deletions server/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 032739f

Please sign in to comment.