2010-06-03 21:03:26 +02:00
|
|
|
alias ss='thin --stats "/thin/stats" start'
|
|
|
|
alias sg='ruby script/generate'
|
|
|
|
alias sd='ruby script/destroy'
|
|
|
|
alias sp='ruby script/plugin'
|
2011-10-12 06:16:23 +02:00
|
|
|
alias sr='ruby script/runner'
|
2010-06-03 21:03:26 +02:00
|
|
|
alias ssp='ruby script/spec'
|
|
|
|
alias rdbm='rake db:migrate'
|
2012-11-24 16:12:40 +01:00
|
|
|
alias rdbtp='rake db:test:prepare'
|
2012-12-05 03:51:42 +01:00
|
|
|
alias migrate='rake db:migrate && rake db:test:prepare'
|
2010-06-03 21:03:26 +02:00
|
|
|
alias sc='ruby script/console'
|
|
|
|
alias sd='ruby script/server --debugger'
|
2010-06-03 21:32:55 +02:00
|
|
|
alias devlog='tail -f log/development.log'
|
2013-06-06 05:40:02 +02:00
|
|
|
alias testlog='tail -f log/test.log'
|
|
|
|
alias prodlog='tail -f log/production.log'
|
2013-04-16 09:22:28 +02:00
|
|
|
alias -g RET='RAILS_ENV=test'
|
|
|
|
alias -g REP='RAILS_ENV=production'
|
|
|
|
alias -g RED='RAILS_ENV=development'
|
2010-06-03 21:32:55 +02:00
|
|
|
|
2010-06-03 21:55:07 +02:00
|
|
|
function remote_console() {
|
|
|
|
/usr/bin/env ssh $1 "( cd $2 && ruby script/console production )"
|
|
|
|
}
|