# 5.6 Installation

WARNING

We don't ship Laravel 5.6 files anymore with codecanyon downloadable zip file, so if you need 5.6 version files, you need to get from our git repo.

The zip file contains all laravel files integrated with josh, however, you need to perform the following steps to get vendors etc.

# Get Composer packages

composer install

# permissions

chmod -R 775 storage

chmod 775 bootstrap/cache

If you are on Linux/ mac you can run below command to chown it.

chown -R www-data /var/www

# database credentials

cp .env.example .env

open .env and modify database details with yours

# Generate Key

php artisan key:generate

# add tables to databaes

php artisan migrate

# add admin to users table

php artisan db:seed --class=AdminSeeder

# compile assets

Make sure you have nodejs installed in your system with minimum version 6.10.0, and yarn 1.5.1

you can check installed version by running node -v command in terminal.

If you are having an older version, please install the latest version from nodejs.org

For laravel 5.6, the minimum version of PHP required is 7.1.3 and

the following PHP extensions are required

  • PHP >= 7.1.3
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension

install local packages

yarn install

move assets to public

npm run dev

# Congratulations

open your website and now it should be fully working 😃

Last Updated: 10/6/2019, 1:13:49 PM