# Staging Quickstart — v13.1

This is the shortest path to validate the portal in a real PHP/MySQL staging environment.

## 1. Unzip and enter MVC folder

```bash
unzip 13.1.zip
cd AARJAY_GDP_Portal/mvc
```

## 2. Run static checks

```bash
./scripts/run_static_release_checks.sh
```

This runs:

- static preflight
- route map audit
- install.sql audit
- manifest check if available

## 3. Run PHP/MySQL checks

```bash
./scripts/php_lint_all.sh
DB_NAME=aarjay_gdp_regression MYSQL_USER=root ./scripts/test_install_sql.sh
```

## 4. Start a local test server

```bash
php -S 127.0.0.1:8100 dev-router.php
```

In another terminal:

```bash
BASE_URL=http://127.0.0.1:8100 ./scripts/regression_smoke_test.sh
```

## 5. Browser validation

Login:

- Email: `admin@pharma.com`
- Password: `Admin@1234`

Then open:

- `/system-health`
- `/gdp-gap-analysis`
- `/dashboard`

## 6. Record results

Use:

- `STAGING_TEST_REPORT_TEMPLATE.md`

Do not deploy to production until this report is complete and signed off.
