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>
This commit is contained in:
co-authored by
Cursor
parent
81ebad2120
commit
f247b418d8
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"_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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user