File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -3,29 +3,14 @@ User interface for the SUNET transcription service
33
44## Development environment
55
6- 1 . Create a virtual environment:
7- ``` bash
8- python -m venv venv
9- ```
10-
11- 2 . Activate the virtual environment:
12- ```bash
13- source venv/bin/activate
14- ```
15-
16- 3 . Install the required packages:
17- ``` bash
18- pip install -r requirements.txt
19- ```
20-
21- 4 . Edit the environment settings, should be in a file named ` .env ` . The following settings should be sufficient for most cases:
6+ 1 . Edit the environment settings, should be in a file named ` .env ` . The following settings should be sufficient for most cases:
227 ```env
238 API_URL = "http://localhost:8000"
249 OIDC_APP_REFRESH_ROUTE = "http://localhost:8000/api/refresh"
2510 OIDC_APP_LOGIN_ROUTE = "http://localhost:8000/api/login"
2611 OIDC_APP_LOGOUT_ROUTE = "http://localhost:8000/api/logout"
2712 ```
28- 5 . Run the application:
13+ 5 . Run the application with uv :
2914 ``` bash
30- python main.py
15+ uv run main.py
3116 ```
You can’t perform that action at this time.
0 commit comments