Allow ts alias to use a specific VM_IP

This commit is contained in:
Yan Pritzker 2015-08-13 15:15:56 -05:00
parent 75b5b18bb1
commit 997d36bef9

View File

@ -144,7 +144,10 @@ alias gz='tar -zcvf'
alias c='rails c' # Rails 3
alias co='script/console' # Rails 2
alias cod='script/console --debugger'
alias ts='thin start -a 127.0.0.1'
#If you want your thin to listen on a port for local VM development
#export VM_IP=10.0.0.1 <-- your vm ip
alias ts='thin start -a ${VM_IP:-127.0.0.1}'
alias ms='mongrel_rails start'
alias tfdl='tail -f log/development.log'
alias tftl='tail -f log/test.log'