pradino 命令

# starts the app server (non-daemonized)
$ padrino start 
# starts the app server (daemonized) with given port, environment and adapter
$ padrino start -d -p 3000 -e development -a thin 
  
# Stops a daemonized app server
$ padrino stop
  
# Bootup the Padrino console (irb)
$ padrino console
  
# Run/List tasks
$ padrino rake

# Run piece of code in the context of Padrino (with given environment)
$ padrino runner 'puts Padrino.env' -e development

# Run Ruby file in the context of Padrino
$ padrino r script/my_script.rb
posted on 2014-07-25 11:06  qinyan20  阅读(199)  评论(0编辑  收藏  举报