Skip to content

Commit

Permalink
this is meant to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Otonbara committed Nov 18, 2024
1 parent 03eb86d commit 94cc0d9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# .gitignore
.env
venv/
venv/

# Ignore Firebase service account credentials
firebase-credentials.json
3 changes: 3 additions & 0 deletions skillmatch-frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Ignore Firebase config files
firebaseConfig.js

This file was deleted.

Binary file not shown.
4 changes: 2 additions & 2 deletions skillmatch_backend/skillmatch_backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
BASE_DIR = Path(__file__).resolve().parent.parent

# Firebase Credentials File
FIREBASE_CREDENTIALS = BASE_DIR / 'skillmatch-48395-firebase-adminsdk-tiob5-f1d0aac23b.json'
FIREBASE_CREDENTIALS = BASE_DIR / 'firebase-credentials.json'

# Check if the Firebase credentials file exists
if not FIREBASE_CREDENTIALS.is_file():
Expand All @@ -34,7 +34,7 @@


# Quick-start development settings - unsuitable for production
SECRET_KEY = 'django-insecure-jwttr)w3zzb*@a&nu%qr6a6y!9t5wbfkm$y-wev!*xj6-6xjis'
SECRET_KEY = os.getenv('DJANGO_SECRET_KEY')

DEBUG = True

Expand Down

0 comments on commit 94cc0d9

Please sign in to comment.