Created
May 6, 2020 06:59
-
-
Save filippotoso/8b2c1af153cdf46e0430535abb11a1cc to your computer and use it in GitHub Desktop.
Laravel Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET /P FOLDER=Please enter the project folder: | |
IF "%FOLDER%"=="" GOTO Error | |
mkdir %FOLDER% | |
cd %FOLDER% | |
call laravel new project --auth | |
move project/public public_html | |
cd project | |
composer require filippo-toso/models-generator filippo-toso/test-email --dev | |
php artisan vendor:publish --tag=config --provider="FilippoToso\ModelsGenerator\ServiceProvider" | |
composer require santigarcor/laratrust laracasts/flash filippo-toso/remote filippo-toso/open-graph-protocol filippo-toso/eloquent-aggregates filippo-toso/fulltext filippo-toso/laravel-helpers | |
php artisan vendor:publish --provider="Laracasts\Flash\FlashServiceProvider" | |
php artisan config:clear | |
php artisan vendor:publish --tag="laratrust" | |
php artisan config:clear | |
php artisan laratrust:setup | |
php artisan setup:platform --rebuild | |
ECHO Complete the public_html move (see article on Medium) and install filippo-toso/backend-setup | |
GOTO End | |
:Error | |
ECHO You did not enter the folder name! | |
:End |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment