tasks:

$ rake -T app (in /home/photos) rake app:deploy # deploy to master state rake app:deploy:after # after deploy hook for you to override rake app:deploy:before # before deploy hook for you to override rake app:gem:install # install gems rake app:gem:reinstall # reinstall gems rake app:gem:uninstall # uninstall gems rake app:git # generic git cmd walk through all dependency rake app:git:clone # clone repoitory from github rake app:git:gc # git gc rake app:git:pull # pull anything from origin rake app:git:reset # make anything reflect master state rake app:install # install this application rake app:install:after # after install hook for you to override rake app:install:before # before install hook for you to override rake app:merb:restart # restart the merb server rake app:merb:start # start the merb server, default config: config/merb.yml rake app:merb:stop # stop the merb server rake app:mongrel:restart # restart the mongrel cluster rake app:mongrel:start # start the mongrel cluster rake app:mongrel:stop # stop the mongrel cluster rake app:nginx:restart # reload config rake app:nginx:start # start nginx, default config is config/nginx.conf, nginx is /usr/sbin/nginx rake app:nginx:stop # stop nginx rake app:rack:restart # restart the rack cluster rake app:rack:start # start the rack cluster rake app:rack:stop # stop the rack cluster rake app:server:restart # please define your server:restart task rake app:thin:restart # restart the thin cluster rake app:thin:start # start the thin cluster rake app:thin:stop # stop the thin cluster

example: see example.rake