# Installation

See the server requirements here, before continuing...

And Let's Continue:

  1. Run these commands:

    composer install    // For Installing Laravel Dependecies
    npm install         // For Installing Vue.js Dependencies
    
  2. For compiling FrontEnd Part (Vue.js):

    npm run watch       // For Development Purpose
    npm run prod        // For Production
    
  3. Run this command for storage purpose:

    php artisan storage:link
    
  4. Run this command for creating config file:

    copy .env.example .env      // For Windows Users
    cp env.example .env         // For Linux Users
    
  5. Create database with "utf8mb4_unicode_ci" collation.

  6. Then, edit .env file:

    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=laravel    // replace it with your database name
    DB_USERNAME=root       // replace it with your database username
    DB_PASSWORD=           // replace it witth your database password
    
  7. Run these commands:

    php artisan migrate     // For Migrating Database Tables
    php artisan db:seed     // For Seeding Default Users
    
  8. And Done. Run This command for serving:

    php artisan serve       // For Serving Laravel (For Development Mode)
    // dont forget about the serving frontend too. step 2.
    

# Configuration

# School Name, Address and Logo. Edit in your .env file:

MIX_NAMA_SEKOLAH="SD TECHY"                                                               // The School Name
MIX_ALAMAT_SEKOLAH="Jl. Sentul No. 57, Curug Kulon, Curug, Kab. Tangerang, Banten 15810"  // The Address
MIX_LOGO_URL="/statics/logo-sekolah.png"                                                  // Logo

# Forgot Password Email Function. Edit in your .env file:

MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io          // your smtp host
MAIL_PORT=2525                      // smtp port
MAIL_USERNAME=null                  // smtp username
MAIL_PASSWORD=null                  // smtp password
MAIL_ENCRYPTION=null                // encryption
MAIL_FROM_ADDRESS=null              // mail from address info

# Troubleshoots

# Penalties for late returning books are not automatically updated

For this problem you can add a CronJob to your server. I have created video for do that in Windows 10, here (opens new window)