Skip to content

Latest commit

 

History

History
143 lines (116 loc) · 5.55 KB

File metadata and controls

143 lines (116 loc) · 5.55 KB

Getting Started with DeepSeek Wrapper

This guide will help you set up and run the DeepSeek Wrapper on your local machine.

Prerequisites

Python 3.8+
Required to run the application
DeepSeek API Key
Sign up here
Git
Optional, for cloning the repository

Installation

1. Clone the repository or download the source code

```bash
git clone https://github.com/TMHSDigital/DeepSeek-Wrapper.git
cd DeepSeek-Wrapper
```

2. Create a virtual environment (recommended)

```bash
# On Windows
python -m venv .venv
.\.venv\Scripts\activate

# On macOS/Linux
python -m venv .venv
source .venv/bin/activate
```

3. Install the required dependencies

```bash
pip install -r requirements.txt
```

4. Set up environment variables

  • Copy the .env.example file to .env (if present), or create a new .env file
  • Open the .env file and add your DeepSeek API key:
```
DEEPSEEK_API_KEY=your_api_key_here
```

Windows PowerShell quickstart to create <code>.env</code>:

```powershell
"DEEPSEEK_API_KEY=sk-your-key" | Out-File -FilePath .env -Encoding ascii
```

Running the Application

To start the web interface, run:

# On Windows, macOS, or Linux
uvicorn src.deepseek_wrapper.web:app --reload

The application will start and be accessible at http://localhost:8000 by default.

Verifying Installation

1
Open your browser and navigate to http://localhost:8000
2
Try sending a message in the chat interface
3
You should receive a response from the DeepSeek AI

Next Steps

Troubleshooting

Common Issues

  • Ensure your API key is correctly set in the .env file
  • Check your internet connection
  • Verify that you have the correct Python version (3.8+)
  • Make sure all dependencies are installed properly

For more help, see the FAQ or open an issue on GitHub.