Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Latest commit

 

History

History
44 lines (34 loc) · 763 Bytes

INSTALLATION.md

File metadata and controls

44 lines (34 loc) · 763 Bytes

Installation

Install dependencies

composer install

Setup Laravel

cp .env.environment .env

Create mysql database and update .env file.

php artisan key:generate
php artisan migrate
php artisan db:seed --class=UsersTableSeeder
php artisan serve

.htaccess

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>
    
    RewriteEngine On
    
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^ ^$1 [N]

    RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
    RewriteRule ^(.*)$ public/$1 

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ server.php
</IfModule>