public
Description: Instructions for a production installation of Ruby on Rails on Ubuntu 8.04 Hardy Heron
Homepage: http://marklunds.com/articles/one/392
Clone URL: git://github.com/peter/rails-on-ubuntu.git
rails-on-ubuntu / .bashrc
100644 16 lines (13 sloc) 0.312 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
 
alias l='ls -l'
alias p='ps auxwww'
export HISTSIZE=10000
export RAILS_ENV=production
export PATH=/usr/local/nginx/sbin:$PATH
export APP=/var/www/apps/my_app/current
alias cdapp='cd $APP'
export EDITOR=emacs
 
# Convenient pinging of local HTTP port
function http {
  wget -O - http://localhost:$1
}