Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use unicorn via procfile

  • Loading branch information...
commit 181017fd4557cdb806a153e9e46e9fb3457bfc47 1 parent 6b09aaf
@netzfisch authored
Showing with 17 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +3 −0  Gemfile
  3. +12 −0 Gemfile.lock
  4. +1 −0  Procfile
View
1  .gitignore
@@ -6,6 +6,7 @@
# Ignore bundler config
/.bundle
+.env
# Ignore the default SQLite database.
/db/*.sqlite3
View
3  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
@@ -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
View
12 Gemfile.lock
@@ -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)
@@ -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)
@@ -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)
@@ -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)
@@ -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)
@@ -220,6 +230,7 @@ DEPENDENCIES
coffee-rails (~> 3.2.1)
database_cleaner
factory_girl_rails
+ foreman
friendly_id
guard-rspec
guard-spork
@@ -238,5 +249,6 @@ DEPENDENCIES
spork-rails
sqlite3
uglifier (>= 1.0.3)
+ unicorn
will_paginate
will_paginate-bootstrap (~> 1.0.0)
View
1  Procfile
@@ -0,0 +1 @@
+web: bundle exec unicorn -p $PORT -E $RACK_ENV
Please sign in to comment.
Something went wrong with that request. Please try again.