Files
SERVtomaste/README.md

160 lines
4.3 KiB
Markdown
Raw Normal View History

# Dalidou Server - Master Documentation
> **Server:** dalidou (Lenovo W520)
> **Tailscale IP:** 100.80.199.40
> **Local IP:** 192.168.86.50
This folder contains all documentation, scripts, and configuration for the dalidou home server.
---
## Quick Start
### SSH Access
```bash
ssh papa@192.168.86.50 # Local WiFi
ssh papa@100.80.199.40 # Tailscale (remote)
```
### Common Commands
```bash
docker ps # List running services
docker logs <container> # View logs
docker restart <container> # Restart service
df -h /srv # Check disk space
```
---
## Documentation
| File | Description |
|------|-------------|
| [docs/DALIDOU-SERVER.md](docs/DALIDOU-SERVER.md) | Complete server documentation - services, credentials, troubleshooting |
| [docs/CLAUDE-ASSISTANT.md](docs/CLAUDE-ASSISTANT.md) | Claude AI Assistant - weather, skiing, git workflow, daily briefings |
| [docs/LICENSE-SERVER-INFO.md](docs/LICENSE-SERVER-INFO.md) | License server Host ID for NX & SolidWorks |
| [docs/thinkpad-setup.md](docs/thinkpad-setup.md) | ThinkPad P16 setup instructions |
---
## Scripts
| File | Description |
|------|-------------|
| [scripts/server-setup.sh](scripts/server-setup.sh) | Enable Git LFS on Gitea (run on dalidou) |
| [scripts/windows-setup.ps1](scripts/windows-setup.ps1) | Set up Git LFS on Windows |
| [scripts/init-cad-repo.ps1](scripts/init-cad-repo.ps1) | Initialize CAD project folder structure |
---
## Templates
| File | Description |
|------|-------------|
| [templates/gitattributes-template.txt](templates/gitattributes-template.txt) | Git LFS tracking rules for CAD files |
| [templates/gitignore-template.txt](templates/gitignore-template.txt) | Ignore rules for CAD temp files |
---
## Services Running on Dalidou
| Service | Port | URL |
|---------|------|-----|
| Gitea (Git) | 3000 | http://192.168.86.50:3000 |
| Seafile (Cloud) | 8083 | http://192.168.86.50:8083 |
| Immich (Photos) | 2283 | http://192.168.86.50:2283 |
| Filebrowser | 8081 | http://192.168.86.50:8081 |
| Paperless (Docs) | 8082 | http://192.168.86.50:8082 |
| Syncthing | 8384 | http://192.168.86.50:8384 |
| Home Assistant | 8080 | http://192.168.86.50:8080 |
| Claude MCP Server | - | via SSH |
---
## Claude AI Assistant
Interactive assistant available in Claude Code with these capabilities:
### Slash Commands
- `/morning` - Morning briefing (yesterday recap + today's weather + skiing)
- `/eod` - End of day summary
- `/ski` - Skiing conditions check
- `/weather` - Quick weather check
- `/push` - Push CAD changes to Gitea
- `/pull` - Pull latest from Gitea
### MCP Tools (on dalidou)
- Weather: current, hourly, daily forecasts
- Skiing: conditions check, best time windows
- Gitea: commits, repos, activity
### Natural Language
Just talk normally:
- "Hey good morning, let's start my day"
- "When should I go skiing?"
- "Push my CAD work"
- "What did I work on this week?"
See [docs/CLAUDE-ASSISTANT.md](docs/CLAUDE-ASSISTANT.md) for full details.
---
## CAD Workflow (Git LFS)
### Push Changes
```powershell
# Use PUSH.bat or ask Claude: "push my cad"
cd C:\Users\Antoine\CADTOMASTE
git add .
git commit -m "description"
git push
```
### Pull Latest
```powershell
# Use PULL.bat or ask Claude: "pull latest"
cd C:\Users\Antoine\CADTOMASTE
git pull
```
### Lock Files Before Editing
```powershell
git lfs lock "Projects/MyProject/part.prt"
# ... edit in NX/SolidWorks ...
git lfs unlock "Projects/MyProject/part.prt"
```
---
## Folder Structure
```
Server/
├── README.md # This file
├── docs/
│ ├── DALIDOU-SERVER.md # Complete server docs
│ ├── CLAUDE-ASSISTANT.md # AI assistant docs
│ ├── LICENSE-SERVER-INFO.md
│ └── thinkpad-setup.md
├── scripts/
│ ├── server-setup.sh # Dalidou setup
│ ├── windows-setup.ps1 # Windows Git LFS setup
│ └── init-cad-repo.ps1 # New CAD project init
└── templates/
├── gitattributes-template.txt
└── gitignore-template.txt
```
---
## Credentials
See [docs/DALIDOU-SERVER.md](docs/DALIDOU-SERVER.md#user-accounts) for full credentials list.
| Service | Username |
|---------|----------|
| SSH | papa |
| Gitea | Antoine |
| Filebrowser | Antoine |
| Seafile | antoine.letarte@gmail.com |