# Quick Start Guide

## Installation (5 minutes)

### 1. Database Setup
```bash
# Create database
mysql -u root -p -e "CREATE DATABASE aakash_digital CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"

# Import schema
mysql -u root -p aakash_digital < database/schema.sql
```

### 2. Configure
Edit `config/config.php`:
```php
define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', 'your_password');
define('APP_URL', 'http://localhost');
```

### 3. Web Server
Point your web server to the `public/` folder.

## Access Points

| URL | Purpose |
|-----|---------|
| `http://localhost/` | Public Website |
| `http://localhost/admin/login.php` | Admin Login |

## Default Credentials
- **Username**: `admin`
- **Password**: `admin123`

## First Steps

1. **Login to Admin**: http://localhost/admin/login.php
2. **Add Team Members**: Admin → Team Members → Add Member
3. **Add Services**: Admin → Services → Add Service
4. **Edit Content**: Admin → Page Content → Select Page → Edit
5. **View Site**: Navigate to home page to see changes live

## Features Overview

### Admin Dashboard
- **Dashboard**: Quick overview of all data
- **Team**: Manage staff profiles
- **Services**: Add/edit service offerings
- **Partners**: Manage partner logos
- **Content**: Edit page text and descriptions
- **Submissions**: View contact form messages

### Public Pages
- **Home**: Main landing page with hero section
- **About**: Company mission, vision, and values
- **Services**: Dynamic service listings
- **Team**: Team member profiles
- **Contact**: Contact form with validation

## Common Tasks

### Add a Team Member
1. Go to Admin → Team Members
2. Click "+ Add Member"
3. Fill in name, position, email, phone, bio
4. Click "Save"
5. Check public site - shows immediately

### Add a Service
1. Go to Admin → Services
2. Click "+ Add Service"
3. Enter title, slug, description, icon
4. Click "Save"
5. View on Services page

### Edit Homepage Text
1. Go to Admin → Page Content
2. Select "Home" from page list
3. Edit "Hero Title" and "Hero Description"
4. Click "Save Changes"
5. Refresh public site to see updates

### View Contact Messages
1. Go to Admin → Contact Submissions
2. Click "View" to see full message
3. Click "Delete" to remove after reading

## Customization Checklist

- [ ] Change admin password (update database)
- [ ] Add team members
- [ ] Add services
- [ ] Update homepage content
- [ ] Add partner logos
- [ ] Customize colors (edit Tailwind classes)
- [ ] Set up contact email notifications (optional)
- [ ] Configure HTTPS for production

## File Locations

- **Public Files**: `public/` (what users see)
- **Admin Files**: `admin/` (protected area)
- **API Endpoints**: `api/` (data backend)
- **Database**: `database/schema.sql`
- **Config**: `config/config.php`

## Security Reminders

⚠️ **Before Going Live:**
1. Change `admin` password immediately
2. Update config database credentials
3. Use HTTPS (SSL certificate)
4. Backup database regularly
5. Keep PHP and MySQL updated
6. Disable directory listing on server
7. Remove this file in production

## Need Help?

- Check README.md for detailed documentation
- Review database/schema.sql for field definitions
- Check config/config.php for environment settings
- Look at public/*.php files for page structure
- Check admin/*.php for admin panel logic

## Support

Email: info@aakashdigital.com  
Phone: +977-1-XXXXX

---

**Happy building!** 🚀
