You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
💡 **Note:** Docker is only required to run the PostgreSQL database locally.
20
20
The backend and frontend are started manually.
@@ -56,12 +56,6 @@ The backend and frontend are started manually.
56
56
cd backend
57
57
```
58
58
59
-
Here is a clean, professional, and minimal update for that section — giving users **two clear options**:
60
-
(1) standard `venv` with the correct Python version, or
61
-
(2) Anaconda environment with the correct version.
62
-
63
-
You can paste this directly into your README.
64
-
65
59
---
66
60
67
61
## (Optional but recommended) Create and activate a Python environment
@@ -92,7 +86,6 @@ py -3.11 -m venv inquiro-env
92
86
inquiro-env\Scripts\activate
93
87
```
94
88
95
-
---
96
89
97
90
### ✅ Option B — Create an environment using Anaconda (Python 3.11.14)
98
91
@@ -105,15 +98,16 @@ conda activate inquiro-env
105
98
106
99
This ensures all dependencies install cleanly—especially libraries like `torch`, `transformers`, and scientific packages.
107
100
101
+
---
108
102
109
-
4.**Install dependencies**:
103
+
3.**Install dependencies**:
110
104
111
105
```bash
112
106
pip install -r requirements.txt
113
107
pip install -r requirements-dev.txt
114
108
```
115
109
116
-
5.**Create a local environment file**:
110
+
4.**Create a local environment file**:
117
111
118
112
Copy the example file and rename it to dev.env:
119
113
@@ -131,15 +125,15 @@ This ensures all dependencies install cleanly—especially libraries like `torch
131
125
132
126
Then adjust the values if needed (e.g., database port, credentials).
133
127
134
-
6.**Install Git hooks**:
128
+
5.**Install Git hooks**:
135
129
136
130
```bash
137
131
pre-commit install
138
132
```
139
133
140
134
After this, the formatters and linters will run automatically every time you commit.
141
135
142
-
7.**Start the FastAPI server**:
136
+
6.**Start the FastAPI server**:
143
137
144
138
```bash
145
139
uvicorn app.main:app --reload
@@ -169,11 +163,3 @@ Bruno is a lightweight, file-based API client that stores requests in plain text
169
163
3.**Select or configure an environment**
170
164
171
165
The `/bruno/Inquiro Bruno/environments` directory contains predefined environment files. For local development select the **_Development_** environment.
172
-
173
-
174
-
### 🚀 Basic Usage
175
-
176
-
Before authenticating, a user must be created:
177
-
178
-
1. Run the **Users → Create User** request and provide only a `username` in the request body.
179
-
2. Next, use the **Authentication → Login** request with the same `username` to obtain an access and refresh token.
0 commit comments