# Kelola Bumi Web Website perusahaan PT Kelola Bumi Nusantara berbasis Next.js. ## Requirement - Node.js 20 atau lebih baru - npm ## Menjalankan lokal ```bash npm install npm run dev ``` Server produksi lokal: ```bash npm run build npm run start ``` ## Environment Salin `.env.example` menjadi `.env.local` lalu isi nilainya. Variabel yang dipakai: - `SMTP_HOST` - `SMTP_PORT` - `SMTP_SECURE` - `SMTP_USER` - `SMTP_PASS` - `CONTACT_TO_EMAIL` - `CONTACT_CAPTCHA_SECRET` ## Deploy ke server 1. Clone repository di server. 2. Buat file `.env.local`. 3. Jalankan `npm install`. 4. Jalankan `npm run build`. 5. Jalankan `npm run start`. Untuk production, disarankan memakai process manager seperti PM2 atau systemd, dan reverse proxy seperti Nginx. ## Catatan - Jangan commit `.env.local`. - Folder `.next` dan `node_modules` tidak perlu di-upload ke git.