AeThex-OS/temp-forge-extract/aethex-forge-main/build-for-hostinger.sh
MrPiglr b3c308b2c8 Add functional marketplace modules, bottom nav bar, root terminal, arcade games
- ModuleManager: Central tracking for installed marketplace modules
- DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module)
- BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings
- RootShell: Real root command execution utility
- TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands
- Terminal Pro module: Adds aliases (ll, la, h), command history
- ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games
- fade_in/fade_out animations for smooth transitions
2026-02-18 22:03:50 -07:00

41 lines
1.1 KiB
Bash
Raw Permalink Blame History

#!/bin/bash
echo "🚀 Building AeThex for Hostinger deployment..."
# Clean previous builds
echo "🧹 Cleaning previous builds..."
rm -rf dist/
# Install dependencies
echo "📦 Installing dependencies..."
npm install
# Build the application
echo "🔨 Building client application..."
npm run build:client
# Copy .htaccess to dist folder
echo "📋 Adding .htaccess for SPA routing..."
cp .htaccess dist/spa/
# Create deployment info
echo "📄 Creating deployment info..."
cat > dist/spa/deployment-info.txt << EOF
AeThex Application - Hostinger Deployment
Built on: $(date)
Version: $(git rev-parse --short HEAD 2>/dev/null || echo "unknown")
Environment: Production
Upload the contents of this folder to your Hostinger public_html directory.
EOF
echo "✅ Build complete!"
echo ""
echo "📁 Files ready for upload in: dist/spa/"
echo "🌐 Upload all contents to your Hostinger public_html folder"
echo "<22><> Make sure to configure your environment variables"
echo ""
echo "Next steps:"
echo "1. Upload dist/spa/* to Hostinger public_html"
echo "2. Configure DNS: core.aethex.biz → your Hostinger IP"
echo "3. Test at https://core.aethex.biz"