edit README
This commit is contained in:
59
README.md
59
README.md
@@ -1,2 +1,61 @@
|
|||||||
# Wyvern&Castle
|
# Wyvern&Castle
|
||||||
Projet de NLP 2025-2026. Modèle MCP de D&D.
|
Projet de NLP 2025-2026. Modèle MCP de D&D.
|
||||||
|
|
||||||
|
|
||||||
|
# Initialisation du jeu
|
||||||
|
|
||||||
|
Pour lancer la partie il faut tout d'abord installer [Claude Desktop](https://claude.com/fr-fr/download) (disponible sur Windows
|
||||||
|
et Mac).
|
||||||
|
|
||||||
|
## Installer l'utilitaire python UV :
|
||||||
|
```bash
|
||||||
|
# Mac/Linux
|
||||||
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
|
# Windows, l'ajouter au Path
|
||||||
|
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Initialiser le dossier pour l'installation
|
||||||
|
Creer un dossier et cloner le projet :
|
||||||
|
```bash
|
||||||
|
uv init wyvern-castle
|
||||||
|
cd wyvern-castle
|
||||||
|
git clone "https://gitea.galaxynoliro.fr/KuMiShi/Wyvern-Castle.git"
|
||||||
|
```
|
||||||
|
## Creation de l'environnement virtuel
|
||||||
|
```bash
|
||||||
|
uv venv
|
||||||
|
```
|
||||||
|
Mac/Linux
|
||||||
|
```bash
|
||||||
|
source .venv/bin/activate
|
||||||
|
```
|
||||||
|
Windows
|
||||||
|
```bash
|
||||||
|
.\.venv\Scripts\activate
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installation du client mcp
|
||||||
|
```bash
|
||||||
|
uv add mcp[cli] httpx
|
||||||
|
```
|
||||||
|
|
||||||
|
## Changement de la config de Claude Desktop
|
||||||
|
Modifier le fichier `claude_desktop_config.json`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
{
|
||||||
|
"mcpServers": {
|
||||||
|
"weather": {
|
||||||
|
"command": "uv",
|
||||||
|
"args": [
|
||||||
|
"--directory",
|
||||||
|
"C:\\ABSOLUTE\\PATH\\TO\\PARENT\\FOLDER\\wyvern_castle",
|
||||||
|
"run",
|
||||||
|
"server.py"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user