Sha256: c3cd3a63577695279c6967067672ecbd1830d7e427c1efa6f308645610b1c85c

Contents?: true

Size: 1.75 KB

Versions: 3

Compression:

Stored size: 1.75 KB

Contents

== Set Up

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


Usage: ./ors <action> [environment=production] [options]

=== Actions
help          You're looking at it
console       Bring up a console on the production servers
logs          Show the last few log entries from the production servers
deploy        Update the code, run the migrations, and restart unicorn
setup         Sets up the default environment on the servers
update        Updates the code on all servers
migrate       Runs the migrations on the migration server
start         Starts up unicorn on the app servers
stop          Stops unicorn on the app servers
restart       Retarts unicorn on the app servers

=== Environments
Must be one of: production demo staging
Defaults to production.

=== Options
--pretend    (or -p)   Don't execute anything, just show me what you're going to do (default: false)
--no-gateway (or -ng)  Don't use a gateway (if you're inside the firewall)          (default: true)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ors-0.0.5 README
ors-0.0.4 README
ors-0.0.3 README