Set Up
-
Set up repo on eden
Required Files:
-
.rvmrc
-
Gemfile
-
Gemfile.lock
-
config/database.yml
-
.git/config
-
config/unicorn.rb
Setting Up GitConfig
[remote "production"]
url = git@eden:ors/deployment.git
push = refs/heads/master:refs/heads/production
>> git push production # updates remote production branch without local branch
Setting up RVM
On your ruby servers you should create a .rvmrc in the home directory of the user running unicorn.
rvm_install_on_use_flag=1
rvm_gemset_create_on_use_flag=1
rvm_trust_rvmrcs_flag=1
Required gems
-
rake
-
bundler
Gemfile
group :production, :demo do
gem 'unicorn'
gem 'mysql2'
gem 'dalli'
gem 'exception_notification', :git => "git://github.com/rails/exception_notification", :branch => "master", :require => "exception_notifier"
end
Usage
run ‘ors help`