Last active
September 5, 2022 15:18
-
-
Save iKunalmathur/a1162295de69ff9beea2e92b997fbbba to your computer and use it in GitHub Desktop.
Laravel Project 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
# Clone Project | |
git clone <git_url> <folder_name> | |
# Install Packages | |
composer install --no-scripts --no-dev | |
composer install --optimize-autoloader --no-dev | |
# Folder Permissions | |
sudo chmod 777 -R bootstrap | |
sudo chmod 777 -R storage | |
# Create .env file | |
mv .env.example .env | |
# Edit .env file | |
nano .env | |
# Genrate New Key | |
php artisan key:generate | |
# Link Storage | |
php artisan storage:link | |
# Clear All Cache | |
php artisan optimize:clear | |
# Make Cache | |
php artisan optimize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment