Created
July 29, 2019 19:45
-
-
Save sanampatel/73b4cd5a96ce83a23b22a77b4b346534 to your computer and use it in GitHub Desktop.
Commands to run after Laravel git clone or after project migration
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 your project from git | |
composer install | |
npm install | |
copy .env.example .env | |
OR | |
cp .env.example .env | |
php artisan key:generate | |
php artisan migrate # First edit .env file | |
composer dump-autoload | |
# All commands in one line | |
composer install && npm install && cp .env.example .env && php artisan key:generate && composer dump-autoload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment