码迷,mamicode.com
首页 > 其他好文 > 详细

pradino 命令

时间:2014-07-25 13:59:31      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:art   re   c   ar   app   file   text   server   

# 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

pradino 命令,布布扣,bubuko.com

pradino 命令

标签:art   re   c   ar   app   file   text   server   

原文地址:http://www.cnblogs.com/qinyan20/p/3867527.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!