Last active
February 22, 2022 19:28
-
-
Save droidlabour/efb1e1cff2d5689647f5eb1a73eb0ec9 to your computer and use it in GitHub Desktop.
Install laravel profiler in Amazon Linux v2
This file contains hidden or 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
#!/bin/bash | |
cd /var/app/current/efl/laravel/ | |
sudo su | |
composer.phar self-update --2 | |
COMPOSER_MEMORY_LIMIT=-1 composer.phar require jkocik/laravel-profiler --dev | |
php artisan vendor:publish --provider="JKocik\Laravel\Profiler\ServiceProvider" | |
npm install laravel-profiler-client --save-dev | |
# change config/profiler.php and set production to true. | |
# php artisan profiler:server | |
# php artisan profiler:client -m | |
# Run ssh tunneling | |
#ssh -v -i key ec2-user@$h -N -L 8099:localhost:8099 -N -L 1901:localhost:1901 -N -L 8080:localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment