# Panduan Deployment ke Production

## Persiapan Database Production

### 1. Setup Environment Production

Pastikan file `.env` di production sudah diset:

```env
APP_ENV=production
APP_DEBUG=false
APP_URL=https://kauman.com # ganti dengan nama domain absensi tidak perlu pakai port
#### 2 import data ke mysql production

kauman.sql.gz # file ada di folder  ini
![alt text](image.png)

sesuaikan nama database di .env file

jalankan perintah berikut:

```bash
composer install --no-dev
```

Akses web
Username: admin@kauman.com
Password: password

Ganti password setelah login di profile

versi PHP "PHP >= 8.2"
