Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Foremanを導入
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Nov 1, 2013
1 parent a9880ac commit cab76e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,6 @@ gem 'resque'
# リアルタイムメッセージング
gem 'private_pub'
gem 'thin'

# 複数アプリケーションの管理
gem 'foreman'
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ GEM
diff-lcs (1.2.1)
domain_name (0.5.7)
unf (~> 0.0.3)
dotenv (0.9.0)
em-http-request (1.1.1)
addressable (>= 2.3.4)
cookiejar
Expand Down Expand Up @@ -137,6 +138,9 @@ GEM
font-awesome-sass-rails (3.0.2.2)
railties (>= 3.1.1)
sass-rails (>= 3.1.1)
foreman (0.63.0)
dotenv (>= 0.7)
thor (>= 0.13.6)
fssm (0.2.10)
haml (4.0.0)
tilt
Expand Down Expand Up @@ -364,6 +368,7 @@ DEPENDENCIES
exception_notification
factory_girl_rails
font-awesome-sass-rails
foreman
heroku
hpricot
i18n_generators
Expand Down
3 changes: 3 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web: bundle exec rails server -p $PORT
resque: bundle exec rake resque:work QUEUE='*'
private_pub: bundle exec rackup private_pub.ru -s thin -E production

0 comments on commit cab76e7

Please sign in to comment.