Josh
  • Introduction
  • Philosophy
  • Contribution
  • Videos
  • Laravel 5.7
  • Laravel 5.6
  • Laravel 5.5
  • Laravel 5.4
  • Laravel 5.2, 5.3
    • Installating JOSH
    • Fresh Installation
  • Laravel 5.1
    • Installation
      • Database setup
      • Permissions
      • Mail Setup
      • Copying Josh Files
      • Install Josh
    • Customize whoops,...
    • usage
      • change skin
  • Laravel 5 Version
    • Installation
      • Database & Environment setup
      • Permissions
      • Mail Setup
      • Copying Josh files
      • Install Josh
    • FAQ
  • Laravel 4 Version
    • Features & Requirements
    • Installation
      • Database
      • Permissions
      • Mail
      • Copying Josh files
      • Install Josh
  • Laravel resources
    • Packages
    • Learning Laravel
    • Hosting
  • GUI CRUD
  • GULP
  • HTML Version
    • Layout
      • Header
      • Left Menu
      • Container
      • Footer Scripts
    • New Page
    • Boxed Version
    • UI Elements
    • Plugins Used
    • Images Used
    • Fonts Used
  • Updates
  • 3.0
    • 3.0.1
    • 3.1
    • 3.1.1
    • 3.1.2
    • 3.2
    • 3.2.1
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    • 3.2.5.1
    • 3.2.6
  • 4.0
    • 4.0.1
    • 4.1
    • 4.2
    • 4.3
    • 4.3.1
    • 4.3.2
  • 5.0
  • Social Login
  • Recaptcha
Powered by GitBook
On this page
  • Pre-requesites
  • Installation
  • Get Composer packages
  • permissions
  • database credentials
  • Generate Key
  • add tables to databaes
  • add admin to users table
  • compiling assets
  • After setup
  • Uploads folders permission

Was this helpful?

Laravel 5.7

PreviousVideosNextLaravel 5.6

Last updated 5 years ago

Was this helpful?

We have split this installation into 3 parts

  • Pre-requisites

  • Installation

  • after setup

Pre-requesites

In order to use JOSH which is a developer oriented product, you should have basic idea of following tools and make sure they are installed in your sytem.

Windows Users If you don't want to install all of them manually, please download

Git

you can check if you have git by running git --version in terminal, if you don't have it...you can get it from git-scm.com

or on *nix system, you can install by running apt-get install git command

nodejs

you can check if you have nodejs installed or not by running nodejs -v in terminal, if you don't have it... you can get it from nodejs.org

for *nix system, find instructions here

yarn

you can check for yarn existence by running yarn -v in terminal, if you don't have it, you can get from their their website and follow instructions mentioned there

composer

you can check for composer existence by running composer -v in terminal and if you don't have it, get it from getcomposer.org

Installation

The zip file contains all laravel files integrated with josh, however you need to perform 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/html

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

compiling assets

yarn install

npm run dev

if everything compiles successfully, by now you should have a working website

After setup

Still we need to get some keys and setup things to make sure josh is working properly

Uploads folders permission

we need to provide write permission to following folder

public/uploads/blog

public/uploads/crudfiles

public/uploads/files

public/uploads/news

public/uploads/users

CRUD folders permission

our GUI crud generator writes new files to many folders and if you are on *nix, you need to adjust permissions

Recaptcha keys

Josh has Google recaptcha feature for signup, login etc

Analytics keys

Josh admin panel can display Google analytics data right in your josh dashboard without leaving site, for which you need to get json file from google site and set analytics view

Google map keys

you need to get google maps keys for maps pages to work, if you don't need these pages, you can ignore it.

Social Login

you can access your website at (if not using virtualhosts) or (if using virtualhosts) and you can access admin section by going to or respectively.

please check for details

follow this guide to set recaptcha

follow for more details

you can see facebook etc login options in signup and login pages, to make them working properly, please follow this guide

laragon
https://nodejs.org/en/download/package-manager/
https://yarnpkg.com
http://URL/public
http://URL
http://URL/public/admin
http://URL/admin
https://lorvent.gitbooks.io/josh/content/gui-crud.html
https://lorvent.gitbooks.io/josh/content/recaptcha.html
https://github.com/spatie/laravel-analytics#how-to-obtain-the-credentials-to-communicate-with-google-analytics
https://lorvent.gitbooks.io/josh/content/social-login.html