Installation
This guide provides comprehensive instructions for setting up ESBO Web on your local development environment, including prerequisites, detailed installation steps, and common troubleshooting solutions.Prerequisites
Before installing ESBO Web, ensure your system meets the following requirements:Node.js and npm
ESBO Web requires Node.js version 18.x or higher. The project uses modern JavaScript features and React 19, which require an up-to-date Node.js installation.Verify your Node.js installation by running
node --version and npm --version in your terminal. You should see version numbers like v18.x.x or higher.Git
You’ll need Git to clone the repository:Code Editor
We recommend using Visual Studio Code with the following extensions:- ESLint
- Tailwind CSS IntelliSense
- ES7+ React/Redux/React-Native snippets
Detailed Installation
Clone the repository
Open your terminal and clone the ESBO Web repository:Navigate into the project directory:
Verify project structure
Ensure the project structure looks correct:You should see key files including:
package.json- Project dependencies and scriptsvite.config.js- Vite configurationtailwind.config.js- Tailwind CSS configurationsrc/- Source code directorypublic/- Static assets
Install dependencies
Install all required packages. Choose your preferred package manager:This installs the following key dependencies:Core Dependencies:
[email protected]- UI library[email protected]- React DOM rendering[email protected]- Icon library
[email protected]- Build tool and dev server@vitejs/[email protected]- React plugin for Vite[email protected]- Utility-first CSS framework[email protected]- PostCSS plugin for vendor prefixes[email protected]- Code linting
The installation may take 1-2 minutes depending on your internet connection and system performance.
Verify the installation
Check that all dependencies were installed correctly:This command shows all top-level packages. Verify that key packages like
react, vite, and tailwindcss are listed.Start the development server
Launch the Vite development server:You should see output indicating the server is running:
Verify in browser
Open your browser and navigate to
http://localhost:5173/You should see the ESBO landing page with:- Gold and white color scheme
- ESBO logo and header
- Hero section with dual images
- Service icons
- Contact information
- Floating chat button
If the page loads successfully with all styling and images, your installation is complete!
Project Configuration
ESBO Web includes several configuration files that are already set up:Vite Configuration
Thevite.config.js file configures the development server and build process:
Tailwind Configuration
Thetailwind.config.js file includes custom brand colors:
Troubleshooting
Port Already in Use
If you see an error that port 5173 is already in use:Module Not Found Errors
If you encounter “Module not found” errors:node_modules and reinstall:
Tailwind Styles Not Loading
If the page loads but has no styling: Solution: Ensure yoursrc/index.css file includes Tailwind directives:
ESLint Errors
If you see linting errors:Images Not Loading
If the ESBO logo or hero images don’t load: Solution:- Check that image files exist in
src/assets/ - Verify import paths in
App.jsx - For Unsplash images, ensure you have an internet connection
Hot Module Replacement Not Working
If changes don’t reflect automatically: Solution:- Check the terminal for errors
- Restart the dev server
- Clear browser cache (Cmd/Ctrl + Shift + R)
- Update your Vite version:
npm install vite@latest
Verification Checklist
Before proceeding to development, verify that:- Node.js version is 18.x or higher (
node --version) - npm is installed (
npm --version) - All dependencies installed without errors
- Development server starts successfully
- Page loads at
http://localhost:5173/ - All images and icons display correctly
- Tailwind styles are applied (gold header, styled buttons)
- Hot module replacement works (make a small change and see it update)
Next Steps
Quick Start
Learn the essential commands and workflows
Project Structure
Understand the technologies powering ESBO Web
Customization Guide
Start building features and customizing components
Deployment
Deploy your local changes to production