File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,14 @@ To run this proxy locally on your own machine, follow these steps:
31
31
3 . Create a virtual environment:
32
32
``` python -m venv venv ```
33
33
34
- 4 . Install the required libraries:
34
+ 4 . Activate virtual environment:
35
+ ``` source venv/bin/activate ```
36
+
37
+ 5 . Install the required libraries:
35
38
``` pip install -r requirements.txt ```
36
39
37
- 5 . Run the FastAPI server:
38
- ``` uvicorn --app-dir app/ main:app --reload ```
40
+ 6 . Run the FastAPI server:
41
+ ``` ./venv/bin/ uvicorn --app-dir app/ main:app --reload```
39
42
40
43
41
44
## Using the Pre-built Server 🌐
Original file line number Diff line number Diff line change @@ -116,18 +116,22 @@ <h2 class="text-3xl font-bold mb-4">Running the Proxy Locally 🖥️</h2>
116
116
< pre
117
117
class ="bg-gray-800 rounded p-4 mb-4 "
118
118
> < code class = "language-bash "> cd groqcall</ code > </ pre >
119
- < li > SCreate a virtual environment:</ li >
119
+ < li > Create a virtual environment:</ li >
120
120
< pre
121
121
class ="bg-gray-800 rounded p-4 mb-4 "
122
122
> < code class = "language-bash "> python -m venv venv</ code > </ pre >
123
+ < li > Activate the virtual environment:</ li >
124
+ < pre
125
+ class ="bg-gray-800 rounded p-4 mb-4 "
126
+ > < code class = "language-bash "> source venv/bin/activate</ code > </ pre >
123
127
< li > Install the required libraries:</ li >
124
128
< pre
125
129
class ="bg-gray-800 rounded p-4 mb-4 "
126
130
> < code class = "language-bash "> pip install -r requirements.txt</ code > </ pre >
127
131
< li > Run the FastAPI server:</ li >
128
132
< pre
129
133
class ="bg-gray-800 rounded p-4 "
130
- > < code class = "language-bash "> uvicorn --app-dir app/ main:app --reload</ code > </ pre >
134
+ > < code class = "language-bash "> .venv/bin/ uvicorn --app-dir app/ main:app --reload</ code > </ pre >
131
135
</ ol >
132
136
< h2 class ="text-3xl font-bold mb-4 "> Using the Pre-built Server 🌐</ h2 >
133
137
< p class ="text-lg mb-8 ">
You can’t perform that action at this time.
0 commit comments