Skip to content

Commit

Permalink
Add start script & dotenv setting for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
n-y-kim committed Mar 10, 2024
1 parent 2f933a0 commit 340dc2e
Show file tree
Hide file tree
Showing 1,952 changed files with 51 additions and 30 deletions.
3 changes: 3 additions & 0 deletions app/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import os
from pathlib import Path
from typing import Any, AsyncGenerator, Dict, Union, cast
from dotenv import load_dotenv

from azure.core.credentials import AzureKeyCredential
from azure.core.credentials_async import AsyncTokenCredential
Expand Down Expand Up @@ -63,6 +64,8 @@
mimetypes.add_type("application/javascript", ".js")
mimetypes.add_type("text/css", ".css")

load_dotenv()


@bp.route("/")
async def index():
Expand Down
2 changes: 2 additions & 0 deletions app/backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ pydantic-core==2.16.2
pyjwt[crypto]==2.8.0
# via msal
python-dateutil==2.8.2

python-dotenv
# via pandas
python-jose[cryptography]==3.3.0
# via -r requirements.in
Expand Down

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

Large diffs are not rendered by default.

Loading

0 comments on commit 340dc2e

Please sign in to comment.