# Installation
See the server requirements here, before continuing...
And Let's Continue:
Run these commands:
composer install // For Installing Laravel Dependecies npm install // For Installing Vue.js DependenciesFor compiling FrontEnd Part (Vue.js):
npm run watch // For Development Purpose npm run prod // For ProductionRun this command for storage purpose:
php artisan storage:linkRun this command for creating config file:
copy .env.example .env // For Windows Users cp env.example .env // For Linux UsersCreate database with "utf8mb4_unicode_ci" collation.
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 passwordRun these commands:
php artisan migrate // For Migrating Database Tables php artisan db:seed // For Seeding Default UsersAnd 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)