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
Assumes Homestead 2.x | |
Start Homestead | |
SSH to Vagrant | |
Create new directory in code directory | |
cd to new directory | |
run composer create-project laravel/laravel --prefer-dist . | |
Update Homestead Yaml (be sure to add to aliases array) | |
Update HOSTS file | |
Run vagrant reload --provision |
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
I did a fair amount of poking around with this issue and found the following combination of suggestions to work for me. | |
I am running Windows 7 Professional 64 bit, Homestead 2.0 and install all my projects in a "code/project name" directory | |
Seems the main reason for NPM not working on Windows machines is it runs up against the file name character limit in Windows even though | |
you are installing on your vagrant/homestead box. | |
First I added this to my homestead.rb file: | |
config.vm.provider "virtualbox" do |vb| vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] |
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
Verifying that +lynxtdc is my blockchain ID. https://onename.com/lynxtdc |
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
What you need: | |
1 liter French Press | |
Coffee | |
Filtered (I prefer filter/ionzied water) | |
Filter and filter basket (optional) | |
Glass storage container | |
Process: | |
Measure 1 and 1/3 cup of ground coffee (I normally do a scant measurement) into the french press | |
Fill with water |
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
alias pa="php artisan" | |
alias par="php artisan routes" | |
alias pam="php artisan migrate" | |
alias pam:r="php artisan migrate:refresh" | |
alias pacc="php artisan cache:clear" | |
alias pamr="php artisan migrate:rollback" | |
alias pam:roll="php artisan migrate:rollback" | |
alias pam:rs="php artisan migrate:refresh --seed" | |
alias padbi="php artisan db:import" | |
alias pda="php artisan dumpautoload" |
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
Download PHP Mess Detector PHAR | |
wget -c http://static.phpmd.org/php/latest/phpmd.phar | |
Move the PHAR and "install it" | |
sudo mv phpmd.phar /usr/local/bin/phpmd | |
sudo chmod +x /usr/local/bin/phpmd | |
Check to make sure it's running on your system |