-
Notifications
You must be signed in to change notification settings - Fork 0
Installation‐Guide
kenTHiC edited this page Aug 19, 2025
·
1 revision
Complete installation instructions for BizGrow v1.3.3 Beta across different environments and use cases.
- Node.js: Version 16.0.0 or higher
- npm: Version 7.0.0 or higher (or yarn/pnpm equivalent)
- Git: For cloning the repository
- Modern Browser: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
-
Code Editor: VS Code recommended with extensions:
- ES7+ React/Redux/React-Native snippets
- Tailwind CSS IntelliSense
- Prettier - Code formatter
- ESLint
# 1. Clone the repository
git clone https://github.com/kenTHiC/biz-grow.git
# 2. Navigate to project directory
cd biz-grow
# 3. Install dependencies
npm install
# 4. Start development server
npm run dev
# 5. Open in browser
# Navigate to http://localhost:5173- Download: Go to GitHub Repository
- Extract: Click "Code" → "Download ZIP" and extract
-
Install: Open terminal in extracted folder and run:
npm install npm run dev
Create a .env file in the root directory (optional):
# Development Configuration
VITE_APP_NAME=BizGrow
VITE_APP_VERSION=1.3.3
VITE_APP_ENVIRONMENT=development
# API Configuration (if using external APIs)
# VITE_API_BASE_URL=https://api.example.com
# VITE_API_KEY=your-api-key
# Analytics (optional)
# VITE_GOOGLE_ANALYTICS_ID=GA-XXXXXXXXXUsing npm (default):
npm install
npm run devUsing Yarn:
yarn install
yarn devUsing pnpm:
pnpm install
pnpm dev# Development
npm run dev # Start development server
npm run dev:host # Start with network access
# Building
npm run build # Build for production
npm run preview # Preview production build
# Testing
npm run test # Run test suite (if configured)
npm run lint # Run ESLint
npm run lint:fix # Fix ESLint issues
# Utilities
npm run clean # Clean build artifacts# 1. Install dependencies
npm install
# 2. Build the application
npm run build
# 3. The built files will be in the 'dist' directory- Connect Repository: Link your GitHub repository to Netlify
-
Build Settings:
- Build command:
npm run build - Publish directory:
dist
- Build command:
- Deploy: Automatic deployment on every push to main branch
-
Install Vercel CLI:
npm i -g vercel -
Deploy: Run
vercelin project directory - Configure: Follow the prompts for deployment settings
Upload the contents of the dist folder to any static hosting service:
- GitHub Pages
- AWS S3 + CloudFront
- Firebase Hosting
- Surge.sh
# Check Node.js version
node --version
# If version is too old, update Node.js
# Visit: https://nodejs.org/# Fix npm permissions
sudo chown -R $(whoami) ~/.npm# If port 5173 is busy, Vite will automatically use the next available port
# Or specify a different port:
npm run dev -- --port 3000# Clear npm cache and reinstall
npm cache clean --force
rm -rf node_modules package-lock.json
npm install# Check for TypeScript errors
npm run build 2>&1 | grep error
# Clear build cache
rm -rf dist
npm run build# Use faster package manager
npm install --prefer-offline
# or
yarn install --offline# Analyze bundle size
npm run build
npx vite-bundle-analyzer dist- Never commit
.envfiles with sensitive data - Use environment variables for API keys
- Keep dependencies updated:
npm audit fix
- Enable HTTPS
- Configure proper CORS headers
- Set up Content Security Policy (CSP)
- Use environment-specific configurations
# Start development server with network access
npm run dev -- --host
# Access from mobile device using your computer's IP
# Example: http://192.168.1.100:5173BizGrow includes Progressive Web App features:
- Offline functionality
- App-like experience
- Install prompts on mobile devices
# 1. Backup your data (if you have local modifications)
git stash
# 2. Pull latest changes
git pull origin main
# 3. Update dependencies
npm install
# 4. Restart development server
npm run dev- Check CHANGELOG.md for breaking changes
- Review migration guides for major version updates
- Test thoroughly after updates
If you encounter issues during installation:
-
Check Documentation: Review this guide and Troubleshooting
-
Search Issues: Look through GitHub Issues
-
Create Issue: If problem persists, create a new issue with:
- Operating system and version
- Node.js and npm versions
- Complete error messages
- Steps to reproduce
-
Community Support: Join our Discord for real-time help
Next Steps: After installation, check out the Quick Start Guide to begin using BizGrow!