-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
-
Clone or download the repository and upload to your server.
-
Installer Laravel dependencies with
composer install -
Install Node.js dependencies with
npm install -
Copy the file
.env.exampleto.envand add the following information:
-
Database credentials (
DB_HOST,DB_PORT, ...) -
Application url (
APP_URL).
-
Generate application key with
php artisan key:generate -
Generate JWT key with
php artisan jwt:secret -
Launch database migrations with
php artisan migrate --seed, andphp artisan migrate:refresh --seedfor auto cleaning the database. -
Build front with
npm run devornpm run prodfor production builds. -
Run
php artisan storage:linkto create a symbolic link to storage. -
Set your host to serve the
publicfolder.
.htaccess is preconfigured for Vue in the public directory.
If SSH access and/or site root directory change is not not accessible, add the following code on your Root directory's .htaccess file.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Please note that this approach may NOT be secure, as the contents of the root directory is still visible.
Laravel - MIT License
Vue - MIT License
Twitter Bootstrap - MIT License
Anime.JS - MIT License
NProgress - MIT License