- PHP >= 8.0
- Node >= 16.0
- npm >= 8.0
- BCMath PHP Extension
- Ctype PHP Extension
- cURL PHP Extension
- DOM PHP Extension
- Fileinfo PHP Extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PCRE PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Install php
- Install mysql
- Install composer
- Install node
- Cek kesiapan (Pastikan php, composer dapat diakses secara global)
php -v
mysql --version
composer -v
node -v
npm -v
- Clone source code ke docroot
git clone https://github.com/dfath/akunting.git
- Install package php
composer install
- Install package js
npm install
- Buat database baru
mysql -u root -p
create database akunting
- Isi configurasi mysql pada file .env salin data dari file .env.example jika belum ada
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=akunting
DB_USERNAME=root
DB_PASSWORD=
- Jalankan migrasi database
php artisan migration:refresh
- Buat data dummy
php artisan db:seed
- Jalankan server di local
php artisan serve
- Login dengan menggunakan akun berikut:
admin@example.com
admin