This commit is contained in:
2025-09-25 08:35:23 +04:00
parent db42d71461
commit db20ccaf5f
95 changed files with 14153 additions and 0 deletions

36
install.sh Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
# Display welcome message
echo "==================================================="
echo "Mycelium Society Website - Installation Script"
echo "==================================================="
echo "This script will install all dependencies for the Mycelium Society website."
echo ""
# Check if pnpm is installed
if ! command -v pnpm &> /dev/null; then
echo "pnpm is not installed. Installing pnpm..."
npm install -g pnpm
if [ $? -ne 0 ]; then
echo "Failed to install pnpm. Please install it manually with: npm install -g pnpm"
exit 1
fi
echo "pnpm installed successfully!"
else
echo "pnpm is already installed."
fi
# Install dependencies
echo ""
echo "Installing project dependencies..."
pnpm install
if [ $? -ne 0 ]; then
echo "Failed to install dependencies. Please check the error messages above."
exit 1
fi
echo ""
echo "==================================================="
echo "Installation completed successfully!"
echo "To start the development server, run: ./start.sh"
echo "==================================================="