Skip to content

Commit

Permalink
use unicorn via procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
netzfisch committed Feb 15, 2014
1 parent 6b09aaf commit 181017f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,6 +6,7 @@

# Ignore bundler config
/.bundle
.env

# Ignore the default SQLite database.
/db/*.sqlite3
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
@@ -1,6 +1,8 @@
source 'https://rubygems.org'
ruby '1.9.3'

gem 'unicorn' # robust production server

gem 'rails', '3.2.14' # Bundle edge? gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'bcrypt-ruby', '~> 3.0.0' # To use ActiveModel 'has_secure_password'
gem 'friendly_id' # To get nice Urls
Expand All @@ -17,6 +19,7 @@ end

group :development, :test do
gem 'sqlite3'
gem 'foreman' # start all associated processes via 'Procfile'
gem 'ruby-debug19'
#TODO try following gems
# gem 'railroady' # creates an UML diagramm
Expand Down
12 changes: 12 additions & 0 deletions Gemfile.lock
Expand Up @@ -55,6 +55,7 @@ GEM
columnize (0.3.6)
database_cleaner (1.1.1)
diff-lcs (1.2.4)
dotenv (0.9.0)
erubis (2.7.0)
execjs (2.0.1)
factory_girl (4.2.0)
Expand All @@ -63,6 +64,9 @@ GEM
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
ffi (1.9.0)
foreman (0.63.0)
dotenv (>= 0.7)
thor (>= 0.13.6)
formatador (0.2.4)
friendly_id (4.0.10.1)
activerecord (>= 3.0, < 4.0)
Expand All @@ -88,6 +92,7 @@ GEM
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.0)
kgio (2.9.1)
launchy (2.3.0)
addressable (~> 2.3)
linecache19 (0.5.12)
Expand Down Expand Up @@ -145,6 +150,7 @@ GEM
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
raindrops (0.12.0)
rake (10.1.0)
rb-fsevent (0.9.3)
rb-inotify (0.9.1)
Expand Down Expand Up @@ -204,6 +210,10 @@ GEM
uglifier (2.2.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
unicorn (4.8.2)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
will_paginate (3.0.4)
will_paginate-bootstrap (1.0.0)
will_paginate (>= 3.0.3)
Expand All @@ -220,6 +230,7 @@ DEPENDENCIES
coffee-rails (~> 3.2.1)
database_cleaner
factory_girl_rails
foreman
friendly_id
guard-rspec
guard-spork
Expand All @@ -238,5 +249,6 @@ DEPENDENCIES
spork-rails
sqlite3
uglifier (>= 1.0.3)
unicorn
will_paginate
will_paginate-bootstrap (~> 1.0.0)
1 change: 1 addition & 0 deletions Procfile
@@ -0,0 +1 @@
web: bundle exec unicorn -p $PORT -E $RACK_ENV

0 comments on commit 181017f

Please sign in to comment.