/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install fish
Add fish to potential default shells
which fish | sudo tee -a /etc/shells
Make fish as default shell
chsh -s /usr/local/bin/fish
curl -L https://get.oh-my.fish | fish
Download and install "Solarized Dark" for iterm2 from http://ethanschoonover.com/solarized
brew install wget git ack fzf redis coreutils
/usr/local/opt/fzf/install
Try to replace ~/.config/fish/functions/fish_user_key_bindings.fish
content by :
function fish_user_key_bindings
fzf_key_bindings
end
brew install postgresql
brew services start postgresql
createdb <mydb>
Then
psql <mydb>
And \du
to list users
sudo apachectl stop
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
brew tap homebrew/homebrew-php
brew install php56 --with-postgresql --without-mysql --with-httpd
brew install php56-memcached php56-http php56-oauth php56-ssh2 php56-xdebug php56-intl php56-uploadprogress php56-xhprof php56-http php56-yaml php56-mcrypt php56-redis php56-apcu
Because of https://github.com/Homebrew/homebrew-php/issues/3919, imagick should be recompiled :
brew reinstall php56-imagick --build-from-source
In /usr/local/etc/httpd/httpd.conf
, replace :
LoadModule php5_module /usr/local/Cellar/php56/5.6.32_8/libexec/apache2/libphp5.so
by :
LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so
And Listen 8080
by Listen 80
And add :
<IfModule php5_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
brew install composer
brew install node
brew cleanup