首页 > 其他 > 详细

pradino 命令

时间:2014-07-25 13:59:31      阅读:337      评论:0      收藏:0      [点我收藏+]
# 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 命令

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!