Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
SECRET_KEY="insecure-key-for-dev-only"
ALLOWED_HOSTS="localhost,"
ALLOWED_HOSTS=""

# Set to True to get debug logs (Django, SQL queries, HTTP requests, service logs, etc.) in console
LOGS=

# Set to True to use test database and use Django's debug mode
DEBUG="True"
# Set to True to use Django's debug mode
DEBUG=True

# Database
DATABASE_URL=""
TEST_DATABASE_URL=""

# Auth0
AUTH0_DOMAIN=
Expand Down
2 changes: 0 additions & 2 deletions backend/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@

# Database
# https://docs.djangoproject.com/en/5.2/ref/settings/#databases

os.environ["DATABASE_URL"] = os.getenv("TEST_DATABASE_URL") if DEBUG else os.getenv("DATABASE_URL")
DATABASES = {"default": dj_database_url.config(default=os.getenv("DATABASE_URL"), ssl_require=False)}
DATABASES["default"]["CONN_HEALTH_CHECKS"] = True

Expand Down
2 changes: 1 addition & 1 deletion frontend/.env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ AUTH0_SCOPE=

# === Hoagie API Configuration ===
# The base URL for the Hoagie API server, where your app will make API requests.
HOAGIE_API_URL=
BACKEND=

# === Environment Configuration ===
# Set to 'false' for development mode, 'true' for production.
Expand Down
Loading