Commit Graph

16 Commits

Author SHA1 Message Date
Torsten Schulz (local)
724b284233 Enhance deployment script to handle symlinks and ensure proper data restoration from backup
This commit updates the deploy-production.sh script to check if the server/data directory is a symlink and removes it if necessary, ensuring that data is copied to a real directory. It also modifies the data restoration process to follow symlinks when copying from the backup, improving the reliability of data recovery during deployment.
2026-01-17 18:54:05 +01:00
Torsten Schulz (local)
23ae66a3d2 Refactor PM2 instance management in deployment script and enhance configuration for multiple instances
This commit introduces a new function to streamline the process of starting and restarting PM2 instances, improving error handling and logging. It also updates the harheimertc.config.cjs file to utilize a helper function for environment variable management, allowing for better organization and support for multiple instances. The deployment script now checks the status of both PM2 instances, providing clearer feedback on their operational state, which enhances overall deployment reliability.
2026-01-17 18:46:15 +01:00
Torsten Schulz (local)
16fc7b2262 Enhance deployment script and navigation component for improved data handling and user access
This commit updates the deploy-production.sh script to remove tracked public/data CSV files from the Git index and ensures that backup files are restored correctly, with size verification for integrity. Additionally, it modifies the Navigation.vue component to allow access to the gallery for users with newsletter permissions, enhancing user experience and access control.
2026-01-17 18:34:49 +01:00
Torsten Schulz (local)
7bacfbd577 Update deployment script to ensure PM2 processes start with updated environment variables. This change improves the reliability of the process startup by incorporating the --update-env flag, enhancing deployment robustness. 2026-01-08 23:28:25 +01:00
Torsten Schulz (local)
cca02dbd20 Enhance deployment script with PM2 process checks and error handling
Update deploy-production.sh to include checks for PM2 installation and process existence before restarting. Implement error messages for failed starts and restarts, improving robustness and user guidance during deployment. Additionally, add useful commands for managing the PM2 process post-deployment.
2026-01-08 11:24:38 +01:00
Torsten Schulz (local)
d8eaa589d1 Improve deployment script with enhanced build validation and error handling
Update deploy-production.sh to include checks for missing dependencies, capture build output, and validate the presence of critical files and directories. This enhancement aims to provide clearer feedback during the build process and ensure a more robust deployment experience.
2026-01-08 09:14:17 +01:00
Torsten Schulz (local)
7726f51294 Enhance deployment script and registration components with improved error handling and debug logging
Update deploy-production.sh to include comprehensive build validation checks, ensuring critical files and directories are present before proceeding. Enhance the registrieren.vue component to conditionally display the window origin and improve debug logging for the registration process. Additionally, add debug information in the register-passkey-options API to capture request details, including environment and process ID, for better troubleshooting capabilities.
2026-01-08 08:59:57 +01:00
Torsten Schulz (local)
286084b42a Enhance deployment script with build validation checks
Add checks to verify the success of the build process in deploy-production.sh. Implement error messages for missing critical files and directories, improving error handling and providing clear feedback during deployment. This update aims to ensure a successful build before proceeding with production data restoration.
2026-01-08 07:47:27 +01:00
Torsten Schulz (local)
f3eaa62e1c Enhance deployment script to conditionally symlink data directories based on git tracking status, improving error handling for uncommitted changes. Implement cleanup of untracked files while preserving essential directories, ensuring a smoother deployment process. 2026-01-07 18:08:07 +01:00
Torsten Schulz (local)
13ea77f554 Refactor deployment script to handle symlinking of public data conditionally based on git tracking status, improving error handling for uncommitted changes. Update PM2 configuration to directly start the Node server for Nuxt 4 production builds in both harheimertc.config.cjs and harheimertc.simple.cjs. Modify user ID handling in registration options to use Uint8Array for compatibility with @simplewebauthn/server. 2026-01-07 18:06:09 +01:00
Torsten Schulz (local)
226a32af33 Refactor deployment script to improve data management by introducing configurable backup and restore paths, enhancing error handling, and ensuring persistent data storage. Update backup processes to create timestamped directories for better organization. 2026-01-07 17:54:49 +01:00
Torsten Schulz (local)
a29200ea91 Update deployment script to ensure persistent data management, enhance backup and restore processes, and improve error handling. Modify .gitignore to exclude sensitive production data and update deployment documentation to reflect changes. Add environment variable loading for production secrets in configuration files. 2026-01-07 17:42:04 +01:00
Torsten Schulz (local)
94aa70c4a0 Refactor deployment script to include pre-git backup of production data and streamline restoration process. Remove outdated backup methods and enhance error handling for data restoration from backup directories. 2025-11-05 11:01:43 +01:00
Torsten Schulz (local)
a4b86e6239 Enhance deployment script to check for merge conflicts before stashing local changes; update various JSON and PDF files with new timestamps and IDs, including new Spielplaene PDFs and revised config content. 2025-10-22 15:11:43 +02:00
Torsten Schulz (local)
5a2bdd1f86 Improve production deployment script to handle local changes with git stash 2025-10-22 14:47:54 +02:00
Torsten Schulz (local)
e5b8df6ec4 Add deployment script and documentation for production data safety 2025-10-21 16:32:19 +02:00