Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
avgupta456 committed Nov 25, 2023
1 parent 2e74878 commit c0e9a05
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
12 changes: 8 additions & 4 deletions backend/.env-template
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
AUTH_TOKEN=abc123
COVERALLS_REPO_TOKEN=abc123

OAUTH_CLIENT_ID=abc123
OAUTH_CLIENT_SECRET=abc123
OAUTH_REDIRECT_URI=abc123
PROD_OAUTH_CLIENT_ID=abc123
PROD_OAUTH_CLIENT_SECRET=abc123
PROD_OAUTH_REDIRECT_URI=abc123

DEV_OAUTH_CLIENT_ID=abc123
DEV_OAUTH_CLIENT_SECRET=abc123
DEV_OAUTH_REDIRECT_URI=abc123

GOOGLE_APPLICATION_CREDENTIALS=abc123

MONGODB_PASSWORD=abc123
MONGODB_PASSWORD=abc123
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"gen-lang-map": "poetry run python src/data/github/language_map.py",
"start": "poetry run uvicorn src.main:app --reload --port=8000",
"set-reqs": "poetry lock && poetry export -f requirements.txt --output requirements.txt --without-hashes",
"create-env": "printenv > .env",
"create-env": "printenv && printenv > .env",
"test": "poetry run coverage run --source=src -m unittest -v && poetry run coverage report",
"isort": "poetry run isort . --src-path=./src --multi-line=3 --trailing-comma --line-length=88 --combine-as --ensure-newline-before-comments"
}
Expand Down
4 changes: 4 additions & 0 deletions backend/src/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
# redirect uri for App
OAUTH_REDIRECT_URI = os.getenv(f"{prefix}_OAUTH_REDIRECT_URI", "")

print("prefix", prefix)
print("OAUTH_CLIENT_ID", OAUTH_CLIENT_ID)
print("OAUTH_CLIENT_SECRET", OAUTH_CLIENT_SECRET)
print("OAUTH_REDIRECT_URI", OAUTH_REDIRECT_URI)

# MONGODB
MONGODB_PASSWORD = os.getenv("MONGODB_PASSWORD", "")
Expand Down

0 comments on commit c0e9a05

Please sign in to comment.