-
Notifications
You must be signed in to change notification settings - Fork 2
Command Line
eturk edited this page Feb 27, 2012
·
2 revisions
Padrino offers a command-line interface (CLI).
padrino console # Boots up the Padrino application irb console
padrino g # Executes the Padrino generator with given options.
padrino gen # Executes the Padrino generator with given options.
padrino generate # Executes the Padrino generator with given options.
padrino help # Describe available tasks or one specific task
padrino rake # Execute rake tasks
padrino s # Starts the Padrino application
padrino start # Starts the Padrino application
padrino stop # Stops the Padrino application
padrino version # Show current Padrino Version
The clock also offers some other commands.
./bin/start # Starts a production Unicorn server.
./bin/stop # Stops Unicorn if it is running.
./bin/server # Starts up a development server.
./bin/safe # If you are concerned about dependency problems, you can use this to get dependencies and run tests, then start a production Unicorn server.