Files
Art-gallery/infra/deploy/harmonize.config.example.json
Danila KhodjaefandCursor f247b418d8 Add dev-prod harmonize tool for bidirectional catalog and image sync.
Schema migrates dev to prod only; catalog rows merge by updated_at and images by mtime with union merge and conflict reporting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 11:02:17 +03:00

28 lines
646 B
JSON

{
"_comment": "Copy to harmonize.config.json (gitignored) before running npm run harmonize",
"dryRun": false,
"prefer": null,
"schemaChanged": false,
"steps": {
"backupDev": true,
"backupProd": true,
"schema": false,
"db": true,
"images": true,
"verify": false
},
"smb": {
"host": "192.168.10.122",
"share": "Gallery",
"user": "",
"password": ""
},
"paths": {
"prodImages": "\\\\192.168.10.122\\Gallery\\data\\images"
},
"verify": {
"devUrl": "https://devgallery.mysuperlab.netcraze.pro/api/bounds",
"publicUrl": "https://gallery.mysuperlab.netcraze.pro/api/bounds"
}
}