Skip to content

Commit

Permalink
Fix databases & add build_files.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
davevad93 authored Nov 29, 2024
1 parent aa1a069 commit 840d582
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions myproject/build_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# build_files.sh
pip install -r requirements.txt
python3.12 manage.py collectstatic --no-input --clear
8 changes: 4 additions & 4 deletions myproject/myproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases

DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': BASE_DIR / 'db.sqlite3',
# }
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}

# Password validation
Expand Down

0 comments on commit 840d582

Please sign in to comment.