Running this script will create three shortcuts (aliases) on your Server:
- rc - Runs rails console in production
- cdapp - CDs you into the
current
release of your app (capistrano) - applogs - Starts tailing the
production.log
of thecurrent
release of your app.
This script follows the ~/apps/appname/current
directory structure.
bash -c "$(curl -fsSL https://gist.githubusercontent.com/sheharyarn/f7559b375daed557c86d/raw/29cce33943edbf3794e9386c84e44a474139d2b5/server_shortcuts.sh)"