Skip to content

Commit 29296f0

Browse files
authored
Merge pull request #19 from sophia-ramsey/m-hietala/remove_other_local_dev_server
remove other local dev server
2 parents ba4720a + 9256a2a commit 29296f0

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

README.md

-43
Original file line numberDiff line numberDiff line change
@@ -86,49 +86,6 @@ To enable message contents to be included in the traces, set the following envir
8686
ENV AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED=true
8787
```
8888

89-
90-
#### Local Development Server
91-
92-
You can optionally use a local development server to test app changes locally. Make sure you first [deployed the app](#deployment) to Azure before running the development server.
93-
94-
1. Create a [Python virtual environment](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments) and activate it.
95-
96-
On Windows:
97-
98-
```shell
99-
python -3 -m venv .venv
100-
.venv\scripts\activate
101-
```
102-
103-
On Linux:
104-
105-
```shell
106-
python3 -m venv .venv
107-
source .venv/bin/activate
108-
```
109-
110-
2. Navigate to the `src` directory:
111-
112-
```shell
113-
cd src
114-
```
115-
116-
3. Install required Python packages:
117-
118-
```shell
119-
python -m pip install -r requirements.txt
120-
```
121-
122-
4. Run the local server:
123-
124-
```shell
125-
python -m uvicorn "api.main:create_app" --factory --reload
126-
```
127-
128-
5. Click 'http://127.0.0.1:8000' in the terminal, which should open a new tab in the browser. It may take a few moments for application startup to complete.
129-
130-
6. Enter your message in the box.
131-
13289
## Deployment
13390

13491
Once you've opened the project locally and made any desired adjustments, you can deploy it to Azure.

0 commit comments

Comments
 (0)