Features
# clone terlebih dahulu lewat cli (cmd, bash, atau yg lain)
git clone https://github.com/muhammadpauzi/absensi-app.git
# masuk ke foldernya
cd absensi-app
# install semua package
composer install
# pilih salah satu
# 1. windows
copy .env.example .env
# 2. unix (ubuntu, mac os and others)
cp .env.example .env
# setelah itu, setting .env file seperti nama database (DB_DATABASE), username dan passwordnya
# lalu buat database baru dari phpmyadmin atau cli langsung juga bisa dengan nama sesuai DB_DATABASE yang ada di file .env
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan serve
# lalu buka browser dengan url: http://localhost:8000/
git clone https://github.com/muhammadpauzi/absensi-app.git
# make sure you are in the folder
cd absensi-app
composer install
# windows
copy .env.example .env
# unix (ubuntu, mac os and others)
cp .env.example .env
Configure .env file Open your .env file and change the database name (DB_DATABASE) to whatever you have, username (DB_USERNAME) and password (DB_PASSWORD) field correspond to your configuration.
Create database Create a database according to the name in DB_DATABASE in the .env file
Run artisan commands
php artisan key:generate
php artisan migrate
php artisan db:seed
php artisan serve