Update nginx config to support a longer timeout to prevent it dropping the connection when trying to debug in PHP Storm
fastcgi_read_timeout 600; # Set fairly high for debugging
/ -------------------------------------------------- | |
/ when value is false (or null), attr isn't rendered | |
/ -------------------------------------------------- | |
%input(type="checkbox" checked=false) | |
%div(class=(false ? false : "test")) | |
/ <input type="checkbox" /> | |
/ <div></div> |
# Capistrano configuration | |
# | |
# require 'new_relic/recipes' - Newrelic notification about deployment | |
# require 'capistrano/ext/multistage' - We use 2 deployment environment: staging and production. | |
# set :deploy_via, :remote_cache - fetch only latest changes during deployment | |
# set :normalize_asset_timestamps - no need to touch (date modification) every assets | |
# "deploy:web:disable" - traditional maintenance page (during DB migrations deployment) | |
# task :restart - Unicorn with preload_app should be reloaded by USR2+QUIT signals, not HUP |
# Running xdebug in the console, for debugging Laravel artisan commands. Useful as I keep forgetting this one... | |
php -dxdebug.remote_autostart artisan | |
#Running phpcs for 5.3: | |
phpcs -pv --standards= --runtime-set testVersion 5.3 --ignore=*/public/*,*.js,*.css,*/tests/*,*/views/training/* . |
$ uname -r