```
chore: remove obsolete payment architecture and integration test documentation - Remove AITBC_PAYMENT_ARCHITECTURE.md (dual-currency system documentation) - Remove IMPLEMENTATION_COMPLETE_SUMMARY.md (integration test completion summary) - Remove INTEGRATION_TEST_FIXES.md (test fixes documentation) - Remove INTEGRATION_TEST_UPDATES.md (real features implementation notes) - Remove PAYMENT_INTEGRATION_COMPLETE.md (wallet-coordinator integration docs) - Remove WALLET_COORDINATOR_INTEGRATION.md (payment
This commit is contained in:
40
scripts/deploy/test-deployment.sh
Executable file
40
scripts/deploy/test-deployment.sh
Executable file
@@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Test if blockchain node and explorer are running
|
||||
|
||||
echo "🔍 Testing Blockchain Deployment"
|
||||
echo "==============================="
|
||||
|
||||
# Test blockchain RPC
|
||||
echo "Testing blockchain RPC..."
|
||||
if curl -s http://aitbc.keisanki.net:8082/rpc/head > /dev/null; then
|
||||
echo "✅ Blockchain RPC is accessible"
|
||||
curl -s http://aitbc.keisanki.net:8082/rpc/head | jq '.height'
|
||||
else
|
||||
echo "❌ Blockchain RPC is not accessible"
|
||||
fi
|
||||
|
||||
# Test explorer
|
||||
echo ""
|
||||
echo "Testing blockchain explorer..."
|
||||
if curl -s http://aitbc.keisanki.net:3000 > /dev/null; then
|
||||
echo "✅ Explorer is accessible"
|
||||
else
|
||||
echo "❌ Explorer is not accessible"
|
||||
fi
|
||||
|
||||
# Check services on server
|
||||
echo ""
|
||||
echo "Checking service status on ns3..."
|
||||
ssh ns3-root "systemctl is-active blockchain-node blockchain-rpc nginx" | while read service status; do
|
||||
if [ "$status" = "active" ]; then
|
||||
echo "✅ $service is running"
|
||||
else
|
||||
echo "❌ $service is not running"
|
||||
fi
|
||||
done
|
||||
|
||||
# Check logs if needed
|
||||
echo ""
|
||||
echo "Recent blockchain logs:"
|
||||
ssh ns3-root "journalctl -u blockchain-node -n 5 --no-pager"
|
||||
Reference in New Issue
Block a user