# Catatan Final Step 6

Step 6 membuat project siap dipakai dengan pola GitHub + cPanel Git Rumahweb.

## File penting yang ditambahkan

| File/Folder | Fungsi |
|---|---|
| `.cpanel.yml` | Template deploy final untuk cPanel Git |
| `deploy/cpanel/` | Template deploy staging dan production |
| `deploy/env/` | Template `.env` staging dan production |
| `scripts/post_deploy.php` | Membuat folder runtime dan cek proteksi setelah deploy |
| `scripts/generate_cpanel_yml.php` | Generator `.cpanel.yml` sesuai username/path cPanel |
| `scripts/release_check.php` | Cek kesiapan release sebelum production |
| `docs/CPANEL_GIT_SETUP_STEP6.md` | Panduan setup GitHub dan cPanel Git |
| `docs/CUTOVER_PRODUCTION_STEP6.md` | Panduan naik dari staging ke production |

## Command utama

```bash
php scripts/post_deploy.php
php scripts/preflight.php
php scripts/healthcheck.php
php scripts/release_check.php
php scripts/migrate.php status
```

## Command produksi sebelum deploy

```bash
php scripts/backup_files.php
php scripts/backup_database.php
```
