Allow ts alias to use a specific VM_IP
This commit is contained in:
parent
75b5b18bb1
commit
997d36bef9
@ -144,7 +144,10 @@ alias gz='tar -zcvf'
|
|||||||
alias c='rails c' # Rails 3
|
alias c='rails c' # Rails 3
|
||||||
alias co='script/console' # Rails 2
|
alias co='script/console' # Rails 2
|
||||||
alias cod='script/console --debugger'
|
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 ms='mongrel_rails start'
|
||||||
alias tfdl='tail -f log/development.log'
|
alias tfdl='tail -f log/development.log'
|
||||||
alias tftl='tail -f log/test.log'
|
alias tftl='tail -f log/test.log'
|
||||||
|
Loading…
Reference in New Issue
Block a user