Last active
November 14, 2019 18:31
-
-
Save dancourse/92cf77829e5b0b5bba62 to your computer and use it in GitHub Desktop.
Laravel Homestead blackfire setup
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
# Edit out homestead settings | |
homestead edit | |
# Enter your details, https://blackfire.io/account/credentials | |
# See re-provision your homestead box | |
vagrant global-status | |
vagrant provision ???? # << this is the id of the homestead instance you have running, from global-status | |
# So far this didn't work so carry on... | |
# Get in there | |
homestead ssh | |
# update the blackfire agent and php, this is taken from https://blackfire.io/doc/upgrading (Debian) | |
sudo apt-get update | |
sudo apt-get install --only-upgrade blackfire-agent | |
sudo /etc/init.d/blackfire-agent restart | |
sudo apt-get install --only-upgrade blackfire-php | |
sudo blackfire-agent -register | |
# Enter your details, https://blackfire.io/account/credentials | |
sudo /etc/init.d/blackfire-agent restart | |
# Now try the chrome profiler again on your page! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment