# 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 命令
时间: 2025-01-02 14:19:41