/web-pemilos

Project SKS web untuk pemilihan osis

Primary LanguagePHP

Laralos

Laravel for pemilos

Build Status Total Downloads Latest Stable Version License

About Laravel

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:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Preview Laralos

How To Install and Run laravel sail?

!important!

Installation

  1. Dipastikan connect dengan internet

  2. Os base on linux atau Windows WSL

  3. Install git & composer

  4. Download sc ini menggunakan command

    git clone https://github.com/adzkyyy/web-pemilos.git 
  5. Enable atau install extension php yang dibutuhkan untuk composer

  6. Install docker & docker-compose, untuk windows menggunakan docker desktop

  7. Pastikan untuk setup grup docker pada user

    sudo usermod -aG docker $USER
  8. Install dependencies

    cd web-pemilos && composer install
  9. Membuat alias path untuk binary sail

    echo "alias sail='vendor/bin/sail'" > ~/.bash_aliases && source ~/.bash_aliases
  10. 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

Running

  1. Dipastikan untuk connect ke internet untuk menginstall image dari registry

  2. Masuk ke directory web-laravel dan ketik command

    sail up -d 
  3. Generate key

    sail php artisan key:generate
  4. Migration database

    sail php artisan migrate:fresh --seed
  5. Aplikasi pemilos bisa dibuka pada http://localhost

TERIMA KASIH

Created by Muhammad Zaky Adzkiya and Sabrina Aska Amalina