Mayank Chugh commited on
Commit
fa1e61a
·
1 Parent(s): d3da8ee

Update README.md to include environment setup instructions and add requirements.txt and .env files

Browse files
Files changed (8) hide show
  1. .python-version +1 -0
  2. README.md +11 -1
  3. api/__init__.py +0 -0
  4. api/main.py +7 -0
  5. main.py +6 -0
  6. pyproject.toml +10 -0
  7. requirements.txt +2 -0
  8. uv.lock +0 -0
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.11
README.md CHANGED
@@ -1 +1,11 @@
1
- # doc-Audi-ai
 
 
 
 
 
 
 
 
 
 
 
1
+ # doc-Audi-ai
2
+
3
+
4
+ create requirements.txt & .env
5
+
6
+
7
+ # 1. Setup environment
8
+ uv venv --python 3.11.14
9
+ uv init --python 3.11.14
10
+ uv pip install -r requirements.txt
11
+ copy .env.example .env
api/__init__.py ADDED
File without changes
api/main.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI()
4
+
5
+ @app.get("/health")
6
+ def health() -> dict[str, str]:
7
+ return {"status": "ok"}
main.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ def main():
2
+ print("Hello from doc-audi-ai!")
3
+
4
+
5
+ if __name__ == "__main__":
6
+ main()
pyproject.toml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "doc-audi-ai"
3
+ version = "0.1.0"
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ dependencies = [
8
+ "fastapi==0.111.0",
9
+ "uvicorn[standard]==0.29.0",
10
+ ]
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ fastapi==0.111.0
2
+ uvicorn[standard]==0.29.0
uv.lock ADDED
The diff for this file is too large to render. See raw diff