Laravel for pemilos
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
The Laravel framework is open-sourced software licensed under the MIT license.
!important!
-
Dipastikan connect dengan internet
-
Os base on linux atau Windows WSL
-
Download sc ini menggunakan command
git clone https://github.com/adzkyyy/web-pemilos.git
-
Enable atau install extension php yang dibutuhkan untuk composer
-
Install docker & docker-compose, untuk windows menggunakan docker desktop
-
Pastikan untuk setup grup docker pada user
sudo usermod -aG docker $USER
-
Install dependencies
cd web-pemilos && composer install
-
Membuat alias path untuk binary sail
echo "alias sail='vendor/bin/sail'" > ~/.bash_aliases && source ~/.bash_aliases
-
Copy file .env.example menjadi .env untuk settingan konfigurasi, lalu untuk database diubah menjadi
DB_CONNECTION=mysql DB_HOST=mysql DB_PORT=3306 DB_DATABASE=web_pemilos DB_USERNAME=sail DB_PASSWORD=password
-
Dipastikan untuk connect ke internet untuk menginstall image dari registry
-
Masuk ke directory web-laravel dan ketik command
sail up -d
-
Generate key
sail php artisan key:generate
-
Migration database
sail php artisan migrate:fresh --seed
-
Aplikasi pemilos bisa dibuka pada http://localhost
TERIMA KASIH
Created by Muhammad Zaky Adzkiya and Sabrina Aska Amalina