.env.sample
to .env
(need to share the secret key/pass privately)pip install -r backend/requirements.txt
pip install -r frontend/requirements.txt
uvicorn backend.main:app --reload
Then go to http://127.0.0.1:8000/
http://127.0.0.1:8000/docs
shows API doc as swagger-ui.
Please see FastAPI doc.
The above server needs to be up on the background.
streamlit run fronend/main.py
Then go to http://localhost:8501/
Please see Streamlit doc.
Render detects master branch change and automatically build & run the server.
backend URL: https://gs-hackathon-2024.onrender.com/ our page of Render: https://dashboard.render.com/web/srv-cov1gs7sc6pc73atocpg/ (Only one person can access this for free version.)
[CAUTIOUS] when you add something to .env
, we must manually add it to Environment of Render as well.
Streamlit Cloud detects master branch change and automatically build & run the server.
frontend URL: https://mr-autogenerator.streamlit.app/
[CAUTIOUS] when you add something to .env
, we must manually add it to Environment of Streamlit Cloud as well.
http://localhost:8000/jira/{jira_ticket_id}
response:
{
"name": "issue title",
"description": "This is the great description of issue 0001.",
"labels": [
"feat"
],
"proj_name": "GS_Hackson",
"comments": []
}
http://localhost:8000/github/{repo_owner}/{repo_name}/{pull_request_id}
example:
http://localhost:8000/github/tensorflow/tensorflow/67560
response:
{
"title": "PR #12433: [GPU] Make cuDNN fusion test run on H100.",
"number": 67560,
"changes": [
{
"file_name": "third_party/xla/xla/service/gpu/fusions/BUILD",
"added_line_num": 1,
"deleted_line_num": 1,
"added_lines": [
" \"requires-gpu-sm90\","
],
"deleted_lines": [
" \"requires-gpu-sm80\","
]
}
]
}