| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:nginx:piwigo [2025/10/06 23:40] – Sean Rhone | servers:windows:nginx:piwigo [2025/10/10 07:33] (current) – Sean Rhone |
|---|
| * [[programs;windows;git|Git]] | * [[programs;windows;git|Git]] |
| * [[servers;windows;mariadb|MariaDB]] | * [[servers;windows;mariadb|MariaDB]] |
| |
| ===== TODOs ===== | |
| |
| * Show title on pictures (long titles get cut-off in navbar) | |
| * AI ([[https://piwigo.org/forum/viewtopic.php?pid=192438#p192438|post]], [[https://github.com/Piwigo/Piwigo/commits/master/include/config_default.inc.php|config.inc.php]]) | |
| |
| ====== Dependencies ====== | ====== Dependencies ====== |
| |
| * https://piwigo.org/guides/install/requirements | * https://piwigo.org/guides/install/requirements |
| | * https://github.com/Piwigo/piwigo-videojs/wiki/How-to-add-videos |
| | * https://github.com/Piwigo/piwigo-videojs/wiki/Synchronize#requirement |
| |
| ====== Download Source ====== | ====== Download Source ====== |
| |
| :: Piwigo | :: Piwigo |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media" reset --hard | "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media" pull origin "master" |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media" pull origin "master" --rebase | |
| | |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media" gc --aggressive --prune="all" | |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media" fsck --full --strict | |
| |
| :: Bootstrap Darkroom | :: Bootstrap Darkroom |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media\themes\bootstrap_darkroom" reset --hard | "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media\themes\bootstrap_darkroom" pull origin "master" |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media\themes\bootstrap_darkroom" pull origin "master" --rebase | |
| | |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media\themes\bootstrap_darkroom" gc --aggressive --prune="all" | |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media\themes\bootstrap_darkroom" fsck --full --strict | |
| |
| :: End</code> | :: End</code> |
| |
| ===== Back-up ===== | ===== Back-up ===== |
| | |
| | * TODO |
| |
| "notepad.exe" "%SystemDrive%\www\scripts\media\Back-up.bat" | "notepad.exe" "%SystemDrive%\www\scripts\media\Back-up.bat" |
| @echo off | @echo off |
| |
| | :: Piwigo |
| RMDIR /S /Q "%SystemDrive%\www\media\.git" | RMDIR /S /Q "%SystemDrive%\www\media\.git" |
| |
| "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media" fsck --full --strict | "%ProgramFiles%\Git\bin\git.exe" -C "%SystemDrive%\www\media" fsck --full --strict |
| |
| ECHO ... | :: Bootstrap Darkroom |
| ECHO Bootstrap Darkroom | |
| RMDIR /S /Q "%SystemDrive%\www\media\themes\bootstrap_darkroom\.git" | RMDIR /S /Q "%SystemDrive%\www\media\themes\bootstrap_darkroom\.git" |
| |
| |
| "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p "piwigo" < "%UserProfile%\Downloads\piwigo.sql" | "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p "piwigo" < "%UserProfile%\Downloads\piwigo.sql" |
| | |
| | ====== TODOs ====== |
| | |
| | * Show title on pictures (long titles get cut-off in navbar) |
| | * AI ([[https://piwigo.org/forum/viewtopic.php?pid=192438#p192438|post]], [[https://github.com/Piwigo/Piwigo/commits/master/include/config_default.inc.php|config.inc.php]]) |
| |