Add Venv.md changes from feature-nginx-combined

This commit is contained in:
Matthew Hand 2024-11-05 19:52:44 +00:00
parent c5e7df03aa
commit e44803147c

View File

@ -0,0 +1,38 @@
# Using Virtual Environments
Create isolated Python environments using `venv`.
## Steps
1. **Create a Virtual Environment:**
```bash
python3 -m venv venv
```
2. **Activate the Virtual Environment:**
- On Linux/macOS:
```bash
source venv/bin/activate
```
- On Windows:
```bash
venv\Scripts\activate
```
3. **Install Open WebUI:**
```bash
pip install open-webui
```
4. **Start the Server:**
```bash
open-webui serve
```