File size: 1,680 Bytes
61d29fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Maintenance Scripts

System maintenance, cleanup, and development utilities.

## Cleanup Scripts

### cleanup_disk_space.sh
Frees up disk space by removing temporary files and caches.

**Usage:**
```bash
./scripts/maintenance/cleanup_disk_space.sh
```

**What it removes:**
- Docker images and containers
- Python cache files
- Node.js cache
- Temporary build artifacts

**⚠️ Does NOT remove:**
- Application data cache (`data/cache/`)
- Database files
- Important project data

### cleanup_frontend_junk.sh
Removes frontend build artifacts and dependencies.

**Usage:**
```bash
./scripts/maintenance/cleanup_frontend_junk.sh
```

### docker-cleanup.sh
Docker-specific cleanup (removes unused images, containers, volumes).

**Usage:**
```bash
./scripts/maintenance/docker-cleanup.sh
```

**What it cleans:**
- Stopped containers
- Unused images
- Dangling volumes
- Unused networks

## Project Maintenance

### migrate-docs.sh
Migrates documentation from project root to website/docs/ (Docusaurus format).

**Usage:**
```bash
./scripts/maintenance/migrate-docs.sh
```

**What it does:**
- Moves .md files from root to website/docs/
- Adds YAML frontmatter
- Converts filenames to kebab-case

## System Utilities

### prevent_terminal_corruption.sh
Prevents terminal corruption from Unicode characters.

**Usage:**
```bash
source scripts/maintenance/prevent_terminal_corruption.sh
```

### move_secrets_to_home.sh
Moves secrets to home directory for security.

**Usage:**
```bash
./scripts/maintenance/move_secrets_to_home.sh
```

## Development

### test-app.py
Quick test script for application functionality.

**Usage:**
```bash
python scripts/maintenance/test-app.py
```