appydave-tools 0.18.1 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/CLAUDE.md +23 -0
- data/docs/SESSION-SUMMARY-WINDOWS-PREP.md +340 -0
- data/docs/WINDOWS-COMPATIBILITY-REPORT.md +429 -0
- data/docs/WINDOWS-SETUP.md +438 -0
- data/docs/WINDOWS-START-HERE.md +202 -0
- data/docs/dam/vat-testing-plan.md +2 -0
- data/docs/dam/windows-testing-guide.md +750 -0
- data/lib/appydave/tools/dam/s3_operations.rb +70 -8
- data/lib/appydave/tools/dam/sync_from_ssd.rb +41 -0
- data/lib/appydave/tools/version.rb +1 -1
- data/package.json +1 -1
- metadata +6 -1
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
# Windows Setup Guide
|
|
2
|
+
|
|
3
|
+
**AppyDave Tools** - Complete Windows installation and configuration guide
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🎯 Overview
|
|
8
|
+
|
|
9
|
+
This guide helps Windows users set up Ruby and install appydave-tools. The gem itself is cross-platform, but Ruby and some dependencies require Windows-specific setup.
|
|
10
|
+
|
|
11
|
+
**What you'll install:**
|
|
12
|
+
- Ruby (programming language)
|
|
13
|
+
- Git (version control)
|
|
14
|
+
- AppyDave Tools gem
|
|
15
|
+
- AWS CLI (for DAM S3 operations - optional)
|
|
16
|
+
|
|
17
|
+
**Time required:** 20-30 minutes
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## ✅ Prerequisites
|
|
22
|
+
|
|
23
|
+
- **Windows 10 or Windows 11**
|
|
24
|
+
- **Administrator access** (for installations)
|
|
25
|
+
- **Internet connection**
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 📦 Installation Steps
|
|
30
|
+
|
|
31
|
+
### Step 1: Install Ruby (RubyInstaller)
|
|
32
|
+
|
|
33
|
+
**Why RubyInstaller?** It's the official Windows distribution with native extensions support.
|
|
34
|
+
|
|
35
|
+
**Installation:**
|
|
36
|
+
|
|
37
|
+
1. **Download RubyInstaller:**
|
|
38
|
+
- Visit: https://rubyinstaller.org/downloads/
|
|
39
|
+
- Download **Ruby+Devkit 3.3.x (x64)** (recommended) or **Ruby+Devkit 3.4.x (x64)** (latest)
|
|
40
|
+
- Choose the version with **(x64)** for 64-bit Windows
|
|
41
|
+
|
|
42
|
+
2. **Run the installer:**
|
|
43
|
+
- Double-click the downloaded `.exe` file
|
|
44
|
+
- ✅ Check **"Add Ruby executables to your PATH"**
|
|
45
|
+
- ✅ Check **"Associate .rb and .rbw files with this Ruby installation"**
|
|
46
|
+
- Click **Install**
|
|
47
|
+
|
|
48
|
+
3. **Install MSYS2 toolchain:**
|
|
49
|
+
- At the end of installation, a command prompt will appear
|
|
50
|
+
- When asked "Which components shall be installed?", press **ENTER** (installs all)
|
|
51
|
+
- This installs development tools needed for native gems
|
|
52
|
+
- Wait for installation to complete (can take 5-10 minutes)
|
|
53
|
+
|
|
54
|
+
4. **Verify installation:**
|
|
55
|
+
```powershell
|
|
56
|
+
ruby --version
|
|
57
|
+
# Should show: ruby 3.3.x or 3.4.x
|
|
58
|
+
|
|
59
|
+
gem --version
|
|
60
|
+
# Should show: 3.x.x
|
|
61
|
+
|
|
62
|
+
bundler --version
|
|
63
|
+
# Should show: 2.x.x
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
**Troubleshooting:**
|
|
67
|
+
- If `ruby` command not found: Close and reopen PowerShell/Command Prompt
|
|
68
|
+
- If still not found: Add `C:\Ruby33-x64\bin` to PATH manually (adjust version number)
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### Step 2: Install Git for Windows (Optional but Recommended)
|
|
73
|
+
|
|
74
|
+
**Why Git?** Required for development work and cloning repositories.
|
|
75
|
+
|
|
76
|
+
**Installation:**
|
|
77
|
+
|
|
78
|
+
1. **Download Git:**
|
|
79
|
+
- Visit: https://git-scm.com/download/win
|
|
80
|
+
- Download the 64-bit installer
|
|
81
|
+
|
|
82
|
+
2. **Run the installer:**
|
|
83
|
+
- Use default settings for most options
|
|
84
|
+
- **Important setting:** Choose **"Use Git from Git Bash and also from Windows Command Prompt"**
|
|
85
|
+
- **Line ending setting:** Choose **"Checkout Windows-style, commit Unix-style"**
|
|
86
|
+
|
|
87
|
+
3. **Verify installation:**
|
|
88
|
+
```powershell
|
|
89
|
+
git --version
|
|
90
|
+
# Should show: git version 2.x.x
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
### Step 3: Install AppyDave Tools Gem
|
|
96
|
+
|
|
97
|
+
**Now you're ready to install the gem!**
|
|
98
|
+
|
|
99
|
+
```powershell
|
|
100
|
+
gem install appydave-tools
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Verify installation:**
|
|
104
|
+
```powershell
|
|
105
|
+
# Check gem is installed
|
|
106
|
+
gem list appydave-tools
|
|
107
|
+
|
|
108
|
+
# Test a command
|
|
109
|
+
gpt_context --help
|
|
110
|
+
dam help
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Expected output:** Help text should display without errors.
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
### Step 4: Configuration Setup
|
|
118
|
+
|
|
119
|
+
**Create configuration files:**
|
|
120
|
+
|
|
121
|
+
```powershell
|
|
122
|
+
# Create config directory (PowerShell)
|
|
123
|
+
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.config\appydave"
|
|
124
|
+
|
|
125
|
+
# Initialize configuration
|
|
126
|
+
ad_config -c
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**This creates:**
|
|
130
|
+
- `%USERPROFILE%\.config\appydave\settings.json`
|
|
131
|
+
- `%USERPROFILE%\.config\appydave\channels.json`
|
|
132
|
+
- `%USERPROFILE%\.config\appydave\youtube_automation.json`
|
|
133
|
+
|
|
134
|
+
**Edit configuration files:**
|
|
135
|
+
|
|
136
|
+
```powershell
|
|
137
|
+
# Option 1: Edit in VS Code (if installed)
|
|
138
|
+
code "$env:USERPROFILE\.config\appydave"
|
|
139
|
+
|
|
140
|
+
# Option 2: Edit in Notepad
|
|
141
|
+
notepad "$env:USERPROFILE\.config\appydave\settings.json"
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
**Example Windows paths in settings.json:**
|
|
145
|
+
```json
|
|
146
|
+
{
|
|
147
|
+
"video-projects-root": "C:\\Users\\YourName\\Videos\\video-projects",
|
|
148
|
+
"ecamm-recording-folder": "C:\\Users\\YourName\\Videos\\Recordings",
|
|
149
|
+
"download-folder": "C:\\Users\\YourName\\Downloads",
|
|
150
|
+
"download-image-folder": "C:\\Users\\YourName\\Downloads\\images"
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**⚠️ Important for Windows:**
|
|
155
|
+
- Use **double backslashes** (`\\`) or **forward slashes** (`/`) in JSON paths
|
|
156
|
+
- Don't use single backslashes (they're escape characters in JSON)
|
|
157
|
+
|
|
158
|
+
**Valid path formats:**
|
|
159
|
+
```json
|
|
160
|
+
"video-projects-root": "C:\\Users\\YourName\\Videos" // ✅ Double backslash
|
|
161
|
+
"video-projects-root": "C:/Users/YourName/Videos" // ✅ Forward slash
|
|
162
|
+
"video-projects-root": "C:\Users\YourName\Videos" // ❌ Single backslash (breaks JSON)
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
### Step 5: AWS CLI (Optional - For DAM S3 Commands)
|
|
168
|
+
|
|
169
|
+
**Only needed if using:** `dam s3-up`, `dam s3-down`, `dam s3-status`, `dam s3-cleanup-*`
|
|
170
|
+
|
|
171
|
+
**Installation:**
|
|
172
|
+
|
|
173
|
+
1. **Download AWS CLI:**
|
|
174
|
+
- Visit: https://aws.amazon.com/cli/
|
|
175
|
+
- Download **AWS CLI MSI installer for Windows (64-bit)**
|
|
176
|
+
|
|
177
|
+
2. **Run the installer:**
|
|
178
|
+
- Use default settings
|
|
179
|
+
- Click through the installer
|
|
180
|
+
|
|
181
|
+
3. **Verify installation:**
|
|
182
|
+
```powershell
|
|
183
|
+
aws --version
|
|
184
|
+
# Should show: aws-cli/2.x.x
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
4. **Configure AWS credentials:**
|
|
188
|
+
```powershell
|
|
189
|
+
aws configure
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
You'll be prompted for:
|
|
193
|
+
- AWS Access Key ID
|
|
194
|
+
- AWS Secret Access Key
|
|
195
|
+
- Default region (e.g., `us-east-1`)
|
|
196
|
+
- Default output format (press ENTER for default)
|
|
197
|
+
|
|
198
|
+
**Alternative:** Use `.env` file in project directory (see Configuration guide).
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## 🧪 Testing Your Setup
|
|
203
|
+
|
|
204
|
+
### Test 1: GPT Context (No AWS required)
|
|
205
|
+
```powershell
|
|
206
|
+
# Create a test project
|
|
207
|
+
mkdir C:\temp\test-project
|
|
208
|
+
cd C:\temp\test-project
|
|
209
|
+
|
|
210
|
+
# Create some files
|
|
211
|
+
echo "print('Hello')" > test.rb
|
|
212
|
+
echo "puts 'World'" > main.rb
|
|
213
|
+
|
|
214
|
+
# Test gpt_context
|
|
215
|
+
gpt_context -i "**/*.rb" -f tree
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
**Expected:** Should show a tree view of Ruby files.
|
|
219
|
+
|
|
220
|
+
### Test 2: Configuration Tool
|
|
221
|
+
```powershell
|
|
222
|
+
# List all configurations
|
|
223
|
+
ad_config -l
|
|
224
|
+
|
|
225
|
+
# View settings
|
|
226
|
+
ad_config -p settings
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
**Expected:** Should display your configuration without errors.
|
|
230
|
+
|
|
231
|
+
### Test 3: DAM Commands (Requires AWS setup)
|
|
232
|
+
```powershell
|
|
233
|
+
# List available brands
|
|
234
|
+
dam list
|
|
235
|
+
|
|
236
|
+
# Show help
|
|
237
|
+
dam help
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
**Expected:** Should show brand list or helpful error message.
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## 🔧 Common Windows Issues
|
|
245
|
+
|
|
246
|
+
### Issue 1: "ruby: command not found"
|
|
247
|
+
|
|
248
|
+
**Cause:** Ruby not in PATH
|
|
249
|
+
|
|
250
|
+
**Solution:**
|
|
251
|
+
1. Close and reopen PowerShell/Command Prompt
|
|
252
|
+
2. If still not working, manually add to PATH:
|
|
253
|
+
- Open **System Properties** → **Environment Variables**
|
|
254
|
+
- Edit **Path** under **User variables**
|
|
255
|
+
- Add: `C:\Ruby33-x64\bin` (adjust version number)
|
|
256
|
+
- Click OK and restart terminal
|
|
257
|
+
|
|
258
|
+
### Issue 2: "Permission denied" when installing gem
|
|
259
|
+
|
|
260
|
+
**Cause:** Trying to install to system Ruby
|
|
261
|
+
|
|
262
|
+
**Solution 1 (Recommended):** Run as administrator:
|
|
263
|
+
```powershell
|
|
264
|
+
# Right-click PowerShell → "Run as Administrator"
|
|
265
|
+
gem install appydave-tools
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
**Solution 2:** Use `--user-install`:
|
|
269
|
+
```powershell
|
|
270
|
+
gem install --user-install appydave-tools
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Issue 3: Native extension build fails
|
|
274
|
+
|
|
275
|
+
**Symptoms:**
|
|
276
|
+
```
|
|
277
|
+
ERROR: Failed to build gem native extension
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
**Cause:** MSYS2 DevKit not installed
|
|
281
|
+
|
|
282
|
+
**Solution:**
|
|
283
|
+
1. Open Command Prompt
|
|
284
|
+
2. Run: `ridk install`
|
|
285
|
+
3. Choose option **3** (MSYS2 and MINGW development toolchain)
|
|
286
|
+
4. Try gem install again
|
|
287
|
+
|
|
288
|
+
### Issue 4: "cannot load such file -- bundler/setup"
|
|
289
|
+
|
|
290
|
+
**Cause:** Bundler not installed or wrong version
|
|
291
|
+
|
|
292
|
+
**Solution:**
|
|
293
|
+
```powershell
|
|
294
|
+
gem install bundler
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Issue 5: Git Bash vs PowerShell vs Command Prompt
|
|
298
|
+
|
|
299
|
+
**Which terminal to use?**
|
|
300
|
+
|
|
301
|
+
| Terminal | Pros | Cons | Recommended For |
|
|
302
|
+
|----------|------|------|-----------------|
|
|
303
|
+
| **PowerShell** | Native Windows, modern syntax | Different commands than Unix | General gem usage |
|
|
304
|
+
| **Git Bash** | Unix-like commands, familiar to Mac users | Not native Windows | Development work |
|
|
305
|
+
| **Command Prompt** | Simple, always available | Limited features | Quick commands |
|
|
306
|
+
|
|
307
|
+
**Recommendation:** Use **PowerShell** for gem commands, **Git Bash** for development.
|
|
308
|
+
|
|
309
|
+
### Issue 6: JSON path format errors
|
|
310
|
+
|
|
311
|
+
**Symptom:**
|
|
312
|
+
```
|
|
313
|
+
Error parsing settings.json: unexpected token
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
**Cause:** Single backslashes in JSON paths
|
|
317
|
+
|
|
318
|
+
**Solution:** Use double backslashes or forward slashes:
|
|
319
|
+
```json
|
|
320
|
+
// ❌ WRONG
|
|
321
|
+
"video-projects-root": "C:\Users\Name\Videos"
|
|
322
|
+
|
|
323
|
+
// ✅ CORRECT
|
|
324
|
+
"video-projects-root": "C:\\Users\\Name\\Videos"
|
|
325
|
+
"video-projects-root": "C:/Users/Name/Videos"
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### Issue 7: AWS CLI not found after installation
|
|
329
|
+
|
|
330
|
+
**Solution:**
|
|
331
|
+
1. Close and reopen terminal
|
|
332
|
+
2. If still not working, add to PATH:
|
|
333
|
+
- Add: `C:\Program Files\Amazon\AWSCLIV2`
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## 📝 Windows-Specific Notes
|
|
338
|
+
|
|
339
|
+
### Path Separators
|
|
340
|
+
- Ruby handles both `\` and `/` in paths
|
|
341
|
+
- **Recommendation:** Use forward slashes (`/`) everywhere - they work on all platforms
|
|
342
|
+
- Example: `"C:/Users/Name/Videos"` instead of `"C:\\Users\\Name\\Videos"`
|
|
343
|
+
|
|
344
|
+
### Home Directory
|
|
345
|
+
- Mac/Linux: `~` or `$HOME` = `/Users/davidcruwys`
|
|
346
|
+
- Windows: `~` or `%USERPROFILE%` = `C:\Users\YourName`
|
|
347
|
+
|
|
348
|
+
### Configuration Locations
|
|
349
|
+
| Platform | Location |
|
|
350
|
+
|----------|----------|
|
|
351
|
+
| Mac/Linux | `~/.config/appydave/` |
|
|
352
|
+
| Windows | `C:\Users\YourName\.config\appydave\` or `%USERPROFILE%\.config\appydave\` |
|
|
353
|
+
|
|
354
|
+
### Line Endings
|
|
355
|
+
- Windows uses `CRLF` (`\r\n`)
|
|
356
|
+
- Mac/Linux uses `LF` (`\n`)
|
|
357
|
+
- Git should handle this automatically (with correct Git config)
|
|
358
|
+
- Ruby gems handle both formats
|
|
359
|
+
|
|
360
|
+
### External Drives
|
|
361
|
+
- Mac: `/Volumes/T7/`
|
|
362
|
+
- Windows: `E:\` or `F:\` (drive letters vary)
|
|
363
|
+
|
|
364
|
+
**DAM SSD Configuration Example (Windows):**
|
|
365
|
+
```json
|
|
366
|
+
"locations": {
|
|
367
|
+
"video_projects": "C:/Users/YourName/Videos/video-projects/v-appydave",
|
|
368
|
+
"ssd_backup": "E:/youtube-PUBLISHED/appydave"
|
|
369
|
+
}
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
## 🚀 Next Steps
|
|
375
|
+
|
|
376
|
+
After setup is complete:
|
|
377
|
+
|
|
378
|
+
1. **Read the main documentation:**
|
|
379
|
+
- [README.md](../README.md) - Overview of all tools
|
|
380
|
+
- [Configuration Guide](./configuration/README.md) - Detailed config setup
|
|
381
|
+
- [DAM Usage Guide](./dam/usage.md) - Video project management
|
|
382
|
+
|
|
383
|
+
2. **Try basic commands:**
|
|
384
|
+
```powershell
|
|
385
|
+
# GPT Context
|
|
386
|
+
gpt_context --help
|
|
387
|
+
|
|
388
|
+
# Configuration
|
|
389
|
+
ad_config -l
|
|
390
|
+
|
|
391
|
+
# DAM (if configured)
|
|
392
|
+
dam list
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
3. **For development work:**
|
|
396
|
+
- Clone the repository: `git clone https://github.com/appydave/appydave-tools`
|
|
397
|
+
- Run: `cd appydave-tools`
|
|
398
|
+
- Setup: `bundle install`
|
|
399
|
+
- Tests: `bundle exec rspec`
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## 💬 Getting Help
|
|
404
|
+
|
|
405
|
+
**Documentation:**
|
|
406
|
+
- [Main README](../README.md)
|
|
407
|
+
- [Configuration Guide](./configuration/README.md)
|
|
408
|
+
- [DAM Usage](./dam/usage.md)
|
|
409
|
+
|
|
410
|
+
**Issues:**
|
|
411
|
+
- GitHub Issues: https://github.com/appydave/appydave-tools/issues
|
|
412
|
+
- Label your issue with `platform: windows`
|
|
413
|
+
|
|
414
|
+
**Community:**
|
|
415
|
+
- YouTube: [@AppyDave](https://youtube.com/@appydave)
|
|
416
|
+
- Website: [appydave.com](https://appydave.com)
|
|
417
|
+
|
|
418
|
+
---
|
|
419
|
+
|
|
420
|
+
## 📚 Additional Resources
|
|
421
|
+
|
|
422
|
+
**Ruby on Windows:**
|
|
423
|
+
- Official guide: https://rubyinstaller.org/
|
|
424
|
+
- Ruby documentation: https://ruby-doc.org/
|
|
425
|
+
|
|
426
|
+
**Windows Terminal:**
|
|
427
|
+
- Modern terminal app: https://aka.ms/terminal
|
|
428
|
+
- Supports tabs, themes, and better Unicode support
|
|
429
|
+
|
|
430
|
+
**AWS CLI:**
|
|
431
|
+
- User guide: https://docs.aws.amazon.com/cli/latest/userguide/
|
|
432
|
+
- Configuration: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
**Last Updated:** 2025-11-10
|
|
437
|
+
**Tested On:** Windows 10, Windows 11
|
|
438
|
+
**Ruby Versions:** 3.3.x, 3.4.x
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# 🪟 Windows User - Start Here!
|
|
2
|
+
|
|
3
|
+
**Welcome Jan!** This guide gets you set up with AppyDave Tools on Windows.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 📖 Three Documents You Need
|
|
8
|
+
|
|
9
|
+
### 1. [WINDOWS-SETUP.md](./WINDOWS-SETUP.md) 👈 **START HERE**
|
|
10
|
+
**Complete installation guide for Windows**
|
|
11
|
+
|
|
12
|
+
What it covers:
|
|
13
|
+
- ✅ Installing Ruby (easy with RubyInstaller!)
|
|
14
|
+
- ✅ Installing AppyDave Tools gem
|
|
15
|
+
- ✅ Configuration setup
|
|
16
|
+
- ✅ AWS CLI installation (optional - only for S3 features)
|
|
17
|
+
- ✅ Troubleshooting common Windows issues
|
|
18
|
+
|
|
19
|
+
**Time:** 20-30 minutes
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### 2. [dam/windows-testing-guide.md](./dam/windows-testing-guide.md)
|
|
24
|
+
**Testing guide for DAM commands on Windows**
|
|
25
|
+
|
|
26
|
+
What it covers:
|
|
27
|
+
- ✅ 30+ Windows-specific test scenarios
|
|
28
|
+
- ✅ Path format testing (C:/ vs C:\\)
|
|
29
|
+
- ✅ All DAM commands tested
|
|
30
|
+
- ✅ Terminal testing (PowerShell, Command Prompt, Git Bash)
|
|
31
|
+
- ✅ Performance benchmarks
|
|
32
|
+
|
|
33
|
+
**Time:** 2-3 hours for complete testing
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
### 3. [WINDOWS-COMPATIBILITY-REPORT.md](./WINDOWS-COMPATIBILITY-REPORT.md)
|
|
38
|
+
**Technical details and bug fixes (optional reading)**
|
|
39
|
+
|
|
40
|
+
What it covers:
|
|
41
|
+
- ✅ Code audit findings (95% Windows compatible!)
|
|
42
|
+
- ✅ Critical SSL bug - **FIXED!** ✅
|
|
43
|
+
- ✅ Platform compatibility analysis
|
|
44
|
+
- ✅ Known Windows limitations
|
|
45
|
+
|
|
46
|
+
**Time:** 10 minutes to skim
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 🚀 Quick Start (TL;DR)
|
|
51
|
+
|
|
52
|
+
### Step 1: Install Ruby (10 minutes)
|
|
53
|
+
1. Download RubyInstaller: https://rubyinstaller.org/downloads/
|
|
54
|
+
2. Choose **Ruby+Devkit 3.3.x (x64)** or **3.4.x (x64)**
|
|
55
|
+
3. Run installer:
|
|
56
|
+
- ✅ Check "Add Ruby executables to your PATH"
|
|
57
|
+
- ✅ Install MSYS2 DevKit when prompted
|
|
58
|
+
4. Verify: Open PowerShell and run:
|
|
59
|
+
```powershell
|
|
60
|
+
ruby --version
|
|
61
|
+
# Should show: ruby 3.3.x or 3.4.x
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Step 2: Install AppyDave Tools (1 minute)
|
|
65
|
+
```powershell
|
|
66
|
+
gem install appydave-tools
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Step 3: Configure (5 minutes)
|
|
70
|
+
```powershell
|
|
71
|
+
# Create config directory
|
|
72
|
+
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.config\appydave"
|
|
73
|
+
|
|
74
|
+
# Initialize configuration
|
|
75
|
+
ad_config -c
|
|
76
|
+
|
|
77
|
+
# Edit settings (use Notepad or VS Code)
|
|
78
|
+
notepad "$env:USERPROFILE\.config\appydave\settings.json"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Important:** Use **forward slashes** in JSON paths!
|
|
82
|
+
|
|
83
|
+
**Example config:**
|
|
84
|
+
```json
|
|
85
|
+
{
|
|
86
|
+
"video-projects-root": "C:/Users/Jan/Videos/video-projects"
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
❌ **WRONG:** `"C:\Users\Jan\Videos"` (breaks JSON)
|
|
91
|
+
✅ **CORRECT:** `"C:/Users/Jan/Videos"` or `"C:\\Users\\Jan\\Videos"`
|
|
92
|
+
|
|
93
|
+
### Step 4: Test Basic Commands (2 minutes)
|
|
94
|
+
```powershell
|
|
95
|
+
# Test configuration
|
|
96
|
+
ad_config -l
|
|
97
|
+
|
|
98
|
+
# Test GPT Context (no AWS required)
|
|
99
|
+
gpt_context --help
|
|
100
|
+
|
|
101
|
+
# Test DAM
|
|
102
|
+
dam help
|
|
103
|
+
dam list
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Step 5: AWS Setup (Optional - Only for S3 Features)
|
|
107
|
+
**Skip this if you're not using S3 operations (dam s3-up, dam s3-down, etc.)**
|
|
108
|
+
|
|
109
|
+
1. Download AWS CLI: https://aws.amazon.com/cli/
|
|
110
|
+
2. Install (use default settings)
|
|
111
|
+
3. Configure:
|
|
112
|
+
```powershell
|
|
113
|
+
aws configure
|
|
114
|
+
```
|
|
115
|
+
Enter your AWS credentials when prompted
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## ✅ What Works on Windows
|
|
120
|
+
|
|
121
|
+
**All core features work identically to Mac/Linux:**
|
|
122
|
+
- ✅ GPT Context gathering
|
|
123
|
+
- ✅ YouTube Manager
|
|
124
|
+
- ✅ Subtitle Processor
|
|
125
|
+
- ✅ Configuration management
|
|
126
|
+
- ✅ DAM commands (list, S3 operations, archive, manifest, sync-ssd)
|
|
127
|
+
|
|
128
|
+
**The only differences:**
|
|
129
|
+
- Use drive letters (C:, E:) instead of /Users/ or /Volumes/
|
|
130
|
+
- Use PowerShell instead of Terminal
|
|
131
|
+
- Install Ruby via RubyInstaller instead of rbenv/RVM
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## 🆘 Common Issues
|
|
136
|
+
|
|
137
|
+
### "ruby: command not found"
|
|
138
|
+
**Solution:** Close and reopen PowerShell. If still broken, add Ruby to PATH:
|
|
139
|
+
- System Properties → Environment Variables → Path → Add: `C:\Ruby33-x64\bin`
|
|
140
|
+
|
|
141
|
+
### "Permission denied" when installing gem
|
|
142
|
+
**Solution:** Run PowerShell as Administrator:
|
|
143
|
+
- Right-click PowerShell → "Run as Administrator"
|
|
144
|
+
- Then: `gem install appydave-tools`
|
|
145
|
+
|
|
146
|
+
### JSON parsing errors
|
|
147
|
+
**Cause:** Single backslashes in paths
|
|
148
|
+
**Solution:** Use forward slashes: `"C:/path"` or double backslashes: `"C:\\path"`
|
|
149
|
+
|
|
150
|
+
### AWS S3 operations fail
|
|
151
|
+
**Cause:** AWS CLI not configured
|
|
152
|
+
**Solution:** Run `aws configure` and enter credentials
|
|
153
|
+
|
|
154
|
+
**See [WINDOWS-SETUP.md](./WINDOWS-SETUP.md#common-windows-issues) for complete troubleshooting guide**
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## 📝 For Testing (After Setup Complete)
|
|
159
|
+
|
|
160
|
+
**Follow:** [dam/windows-testing-guide.md](./dam/windows-testing-guide.md)
|
|
161
|
+
|
|
162
|
+
**Test scenarios:**
|
|
163
|
+
1. ✅ Basic commands (10 tests)
|
|
164
|
+
2. ✅ Path handling (5 tests)
|
|
165
|
+
3. ✅ DAM commands (8 tests)
|
|
166
|
+
4. ✅ Error handling (6 tests)
|
|
167
|
+
5. ✅ Performance (2 tests)
|
|
168
|
+
|
|
169
|
+
**Report issues:** Include Windows version, Ruby version, and full error message
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## 💬 Questions?
|
|
174
|
+
|
|
175
|
+
**Documentation:**
|
|
176
|
+
- [WINDOWS-SETUP.md](./WINDOWS-SETUP.md) - Complete setup guide
|
|
177
|
+
- [dam/windows-testing-guide.md](./dam/windows-testing-guide.md) - Testing scenarios
|
|
178
|
+
- [Main README](../README.md) - Tool overview
|
|
179
|
+
|
|
180
|
+
**GitHub Issues:**
|
|
181
|
+
- https://github.com/appydave/appydave-tools/issues
|
|
182
|
+
- Label with `platform: windows`
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## 🎯 Success Criteria
|
|
187
|
+
|
|
188
|
+
You'll know setup is complete when:
|
|
189
|
+
- ✅ `ruby --version` shows Ruby 3.3+ or 3.4+
|
|
190
|
+
- ✅ `gem list appydave-tools` shows the gem is installed
|
|
191
|
+
- ✅ `dam help` shows help text without errors
|
|
192
|
+
- ✅ `gpt_context --help` works
|
|
193
|
+
- ✅ `ad_config -l` lists your configuration
|
|
194
|
+
|
|
195
|
+
**Then you're ready to test!** 🚀
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
**Last Updated:** 2025-11-10
|
|
200
|
+
**Ruby Versions Tested:** 3.3.x, 3.4.x
|
|
201
|
+
**Windows Versions:** Windows 10, Windows 11
|
|
202
|
+
**Status:** ✅ Ready for testing (SSL bug fixed!)
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
**Reference**: Original UAT plan at `/Users/davidcruwys/dev/video-projects/video-asset-tools/docs/testing-plan.md`
|
|
9
9
|
|
|
10
|
+
**Windows Testing**: See [windows-testing-guide.md](./windows-testing-guide.md) for Windows-specific testing scenarios
|
|
11
|
+
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
## Integration Status Summary
|