2014-02-15
yum install nodejs --enablerepo=epel
production:
adapter: postgresql
host: localhost
database: kandan
pool: 5
timeout: 5000
username: kandan
password: kandan
config.serve_static_assets = true
bundle install --path vendor/bundle --without development test
RAILS_ENV=production bundle exec rake db:create db:migrate kandan:bootstrap
RAILS_ENV=production bundle exec rake assets:precompile
RAILS_ENV=production bundle exec thin start