# Aarya Holidays & Cabs - Deployment Checklist (HostingHome)

## Runtime
- Python: 3.11.9
- Django: 5.2.15
- Database: MySQL
- WSGI entry: passenger_wsgi.py
- Static serving: WhiteNoise

## Pre-Deploy
- Set environment variables from .env.example
- Ensure DJANGO_DEBUG=False
- Configure DJANGO_ALLOWED_HOSTS with production domain(s)
- Configure DJANGO_CSRF_TRUSTED_ORIGINS with https origins
- Configure MySQL credentials
- Set strong DJANGO_SECRET_KEY

## Security
- SESSION_COOKIE_SECURE=True
- CSRF_COOKIE_SECURE=True
- DJANGO_SECURE_SSL_REDIRECT=True
- HSTS values configured for production
- X_FRAME_OPTIONS=DENY
- REFERRER_POLICY=strict-origin-when-cross-origin

## Commands
1. Install dependencies:
   pip install -r requirements.txt
2. Apply migrations:
   python manage.py migrate
3. Collect static:
   python manage.py collectstatic --noinput
4. Verify deployment checks:
   python manage.py check --deploy
5. Smoke tests:
   python manage.py test travel.tests

## HostingHome Notes
- Keep passenger_wsgi.py at project root.
- Point Passenger app root to project folder.
- Ensure environment variables are available to Passenger process.
- Restart Passenger app after env/config changes.

## Indexing Readiness
- robots.txt available at /robots.txt
- sitemap available at /sitemap.xml
- canonical, Open Graph, Twitter tags enabled in base template
- JSON-LD structured data included globally + reviews aggregate schema

## Final Functional Smoke Test
- Public pages: home, about, packages, destinations, cab services, gallery, contact, reviews
- Forms: contact enquiry, review submission
- Counters: visitor counter, one-like-per-visitor website like
- Admin: login, dashboard, enquiries, reviews, likes, settings
