Cara Install
- Clone Repositori ini
git clone --depth=1 https://github.com/eraporsmk/eraporsmk.git project_name
cd project_name
- Install Dependencies
composer install
Koneksi ke database
cp .env.example .env
nano .env
- Database Utama
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=postgres
DB_USERNAME=postgres
DB_PASSWORD=postgres
- Database eRaporSMK Versi 4 (jika ada)
DB_ERAPOR4_HOST=127.0.0.1
DB_ERAPOR4_PORT=5432
DB_ERAPOR4_DATABASE=postgres
DB_ERAPOR4_USERNAME=postgres
DB_ERAPOR4_PASSWORD=postgres
Generate App Key
php artisan key:generate
Migration
- Membuat struktur table
php artisan migrate
- Jalankan seeder
php artisan db:seed