-
Copy env.example
-
Create new file, paste all env.example content and save as .env
-
Configure
- APP_NAME
- APP_URL (required)
- DB_DATABASE (required)
- DB_USERNAME (required)
- DB_PASSWORD (required)
- if you want to use send email feature, please configure some variable below.
- MAIL_HOST
- MAIL_PORT
- MAIL_USERNAME
- MAIL_PASSWORD
input this command below on your terminal inside this project directory.
-
Install Laravel
composer install
-
Generate Key
php artisan key:generate
-
Link storage to public
php artisan storage:link
-
Migrate the database and seed the data by input this command on your terminal
php artisan migrate --seed
-
Or reset the database if already migrated.
php artisan migrate:fresh --seed
Application is now Ready.
Before you can crete new employee and send email to the Company. Please run this command below to active the queue process.
- Start processing jobs on the queue as a daemon
php artisan queue:work