LEGISCON PHASE 3A + 3B STARTER PACKAGE
=====================================

WHAT THIS PACKAGE CONTAINS
- Responsive public-facing LegisCon website.
- PHP application bootstrap using PDO.
- Private configuration template.
- MySQL/MariaDB MVP database schema.
- Contact enquiry form with CSRF protection and prepared SQL statements.
- Core public pages: Home, About, Services, Laws Library, Ask LegisCon,
  Legislative Tracker, Research, Business, Learning Centre, Pricing and Contact.

IMPORTANT
This is a development foundation, not a complete production platform.
It does not yet include customer registration/login, paid question submission,
Paystack integration, admin dashboard, article management or a live laws database.
Those are subsequent development stages.

INSTALLATION (CPANEL)
1. Create a MySQL database and database user in cPanel.
2. Grant the database user ALL PRIVILEGES on that database.
3. Import database/legiscon_schema.sql using phpMyAdmin.
4. Upload the CONTENTS of public_html/ into your domain's document root.
   For a main domain this is commonly public_html; for a subdomain it may be
   a separate document-root folder.
5. Upload legiscon_private/ OUTSIDE the public document root, for example:
   /home/CPANEL_USERNAME/legiscon_private/config.php
6. Edit config.php:
   - base_url: your actual HTTPS domain
   - db_name, db_user, db_pass: your cPanel database details
7. Confirm PHP 8.2+ and PDO MySQL are enabled.
8. Enable SSL/HTTPS before accepting enquiries.
9. Visit the domain and test all pages and the contact form.

PATH NOTE
The bootstrap expects the private configuration at:
dirname(public_html/includes, 2) . '/legiscon_private/config.php'
In a typical cPanel home directory, this resolves to:
 /home/CPANEL_USERNAME/legiscon_private/config.php

SECURITY BEFORE LAUNCH
- Replace all placeholder configuration values.
- Do not put database credentials in public_html.
- Keep PHP display_errors disabled on production; log errors privately.
- Set file and folder permissions conservatively.
- Add automated database backups.
- Add privacy notice, terms of use, cookie notice if applicable, and a data
  retention process before collecting customer data.
- Configure SMTP for notifications.
- Review the precise service scope and commercial model with a Nigerian legal
  practitioner before launch. The platform is for legislative information,
  research and public education, not legal representation.

BRAND
LEGISCON
Understanding Legislations. Empowering People.
