update website
This commit is contained in:
47
install.sh
Normal file
47
install.sh
Normal file
@@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
# HERO Personal Agent Website - Installation Script
|
||||
# This script installs all dependencies using pnpm
|
||||
|
||||
echo "🚀 Installing HERO Personal Agent Website..."
|
||||
echo "=============================================="
|
||||
|
||||
# Check if Node.js is installed
|
||||
if ! command -v node &> /dev/null; then
|
||||
echo "❌ Node.js is not installed. Please install Node.js first."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if pnpm is installed
|
||||
if ! command -v pnpm &> /dev/null; then
|
||||
echo "📦 Installing pnpm..."
|
||||
npm install -g pnpm
|
||||
fi
|
||||
|
||||
echo "📋 Node.js version: $(node --version)"
|
||||
echo "📋 pnpm version: $(pnpm --version)"
|
||||
|
||||
# Install dependencies
|
||||
echo "📦 Installing project dependencies..."
|
||||
pnpm install
|
||||
|
||||
# Check if installation was successful
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ Installation completed successfully!"
|
||||
echo ""
|
||||
echo "🎯 Next steps:"
|
||||
echo " 1. Run './start.sh' to start the development server"
|
||||
echo " 2. Open http://localhost:5173 in your browser"
|
||||
echo " 3. Start developing your HERO website!"
|
||||
echo ""
|
||||
echo "📁 Project structure:"
|
||||
echo " - src/pages/ → Website pages (Home, How, GetStarted, Technology, Blog)"
|
||||
echo " - src/components/ → Reusable UI components"
|
||||
echo " - src/assets/ → Images and media files"
|
||||
echo " - src/App.css → Custom styles and animations"
|
||||
echo ""
|
||||
else
|
||||
echo "❌ Installation failed. Please check the error messages above."
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user