feat: add verify-deploy, check-env, and db-optimize helper scripts
This commit is contained in:
1 parent
7840f44e5e
commit
f2b64bc83a
3 files changed
+44
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Verify if CMS is reachable
|
||||
cd "$(dirname "$0")/.."
|
||||
echo "Checking health..."
|
||||
if curl -f http://localhost:3002/api/health > /dev/null 2>&1; then
|
||||
echo "Success: Service is reachable."
|
||||
else
|
||||
echo "Error: Service not reachable."
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user