Enhance development workflow and deployment practices for Archipelago
- Updated the Development-Workflow documentation to clarify deployment strategy, emphasizing direct deployment to the live system for testing. - Added detailed instructions for the deployment command, including syncing code, building frontend and backend, and restarting services. - Improved SSH key management section to assist with authentication issues. - Expanded the testing workflow to include steps for checking logs and syncing changes back to the ISO build. - Updated the ISO build integration section to ensure system-level changes are captured for future builds. - Refactored various sections for clarity and completeness, including deployment paths and system configuration files.
This commit is contained in:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
# Quick script to check what's deployed on the target
|
||||
|
||||
echo "Checking deployed files on target..."
|
||||
echo ""
|
||||
|
||||
echo "1. Web UI files:"
|
||||
ssh archipelago@192.168.1.228 "ls -lh /opt/archipelago/web-ui/ | head -10"
|
||||
|
||||
echo ""
|
||||
echo "2. Backend binary:"
|
||||
ssh archipelago@192.168.1.228 "ls -lh /usr/local/bin/archipelago"
|
||||
|
||||
echo ""
|
||||
echo "3. Backend service status:"
|
||||
ssh archipelago@192.168.1.228 "sudo systemctl status archipelago --no-pager | head -15"
|
||||
|
||||
echo ""
|
||||
echo "4. Nginx status:"
|
||||
ssh archipelago@192.168.1.228 "sudo systemctl status nginx --no-pager | head -10"
|
||||
|
||||
echo ""
|
||||
echo "5. Check one of the JS files for BUNDLED_APPS:"
|
||||
ssh archipelago@192.168.1.228 "grep -l 'BUNDLED_APPS' /opt/archipelago/web-ui/assets/*.js | head -1"
|
||||
Reference in New Issue
Block a user