Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git clone

git clone url
composer install -> for vendor
npm install -> for node_modules directory
cp .env.example .env -> for .env file copying
php artisan key:generate -> for APP_KEY in .env file
env connect -> database connecting
php artisan migrate:fresh
php artisan serve

//if has error in composer install ,make following step
composer require laravel/laravel
composer dump-autoload
composer install --no-scripts
composer update
composer update --no-scripts

//checking version
php artisan --version
composer --version
php -v
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #git #clone
ADD COMMENT
Topic
Name
2+6 =