Skip to content

Instantly share code, notes, and snippets.

@yteraoka
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yteraoka/9016566 to your computer and use it in GitHub Desktop.
Save yteraoka/9016566 to your computer and use it in GitHub Desktop.

kandan setup memo

2014-02-15

stable version

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment