Skip to content

Installation

Anton Raharja edited this page Apr 30, 2024 · 4 revisions

Quick Install

  1. Get from github

    git clone https://github.com/antonraharja/laravel-starter starter`
    
  2. Enter installation path and edit .env

    In .env you need to edit at least APP_NAME APP_URL and DB_*

    cd starter
    cp .env.example .env
    nano .env
    
  3. Install composer packages

    composer install
    
  4. Generate key

    php artisan key:generate
    
  5. Install database tables with some starter contents and setup admin's password

    php artisan migrate:fresh --seed
    
  6. Depend on your installation you may need below actions

    Adjust storage file permissions:

    sudo find storage/ bootstrap/ -type f -exec chmod 666 {} \;
    

    And, adjust storage directory permissions:

    sudo find storage/ bootstrap/ -type d -exec chmod 777 {} \;
    
Clone this wiki locally