-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify-deployment.sh
More file actions
executable file
Β·42 lines (35 loc) Β· 1.21 KB
/
verify-deployment.sh
File metadata and controls
executable file
Β·42 lines (35 loc) Β· 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
echo "π PasswordGEN Deployment Verification"
echo "======================================"
echo ""
# Check if dist directory exists
if [ ! -d "dist" ]; then
echo "β ERROR: dist directory not found!"
echo " Run 'npm run build' first."
exit 1
fi
echo "β
dist directory found"
# Check for required files
required_files=("dist/index.html" "dist/.htaccess" "dist/assets")
for file in "${required_files[@]}"; do
if [ -e "$file" ]; then
echo "β
$file exists"
else
echo "β MISSING: $file"
fi
done
echo ""
echo "π Files to upload to password.0xpacman.com:"
echo "---------------------------------------------"
ls -la dist/
echo ""
echo "π¨ IMPORTANT DEPLOYMENT STEPS:"
echo "1. Upload ALL contents of the 'dist' folder to your web root"
echo "2. Make sure .htaccess file is uploaded (it's hidden!)"
echo "3. Verify the server serves .js files as 'application/javascript'"
echo "4. Clear browser cache completely before testing"
echo ""
echo "π§ If still getting MIME type errors:"
echo "- Check if .htaccess is actually uploaded and working"
echo "- Verify your hosting supports .htaccess files"
echo "- Contact your hosting provider about MIME type configuration"