added foreman

This commit is contained in:
nilsding 2014-12-12 22:59:35 +01:00
parent 7e5ce0c048
commit e2cabbe934
3 changed files with 9 additions and 0 deletions

View File

@ -44,6 +44,8 @@ gem 'questiongenerator', git: 'https://github.com/justask/questiongenerator.git'
gem 'omniauth' gem 'omniauth'
gem 'omniauth-twitter' gem 'omniauth-twitter'
gem 'foreman'
group :development do group :development do
gem 'spring' gem 'spring'
end end

View File

@ -72,6 +72,7 @@ GEM
warden (~> 1.2.3) warden (~> 1.2.3)
diff-lcs (1.2.5) diff-lcs (1.2.5)
docile (1.1.5) docile (1.1.5)
dotenv (1.0.2)
equalizer (0.0.9) equalizer (0.0.9)
erubis (2.7.0) erubis (2.7.0)
eventmachine (1.0.3) eventmachine (1.0.3)
@ -89,6 +90,9 @@ GEM
railties (>= 3.2, < 5.0) railties (>= 3.2, < 5.0)
font-kit-rails (1.1.0) font-kit-rails (1.1.0)
rails rails
foreman (0.76.0)
dotenv (~> 1.0.2)
thor (~> 0.19.1)
haml (4.0.6) haml (4.0.6)
tilt tilt
hashie (3.3.2) hashie (3.3.2)
@ -306,6 +310,7 @@ DEPENDENCIES
faker faker
font-awesome-rails (~> 4.2.0.0) font-awesome-rails (~> 4.2.0.0)
font-kit-rails font-kit-rails
foreman
haml haml
http_accept_language http_accept_language
jbuilder (~> 2.2.4) jbuilder (~> 2.2.4)

2
Procfile Normal file
View File

@ -0,0 +1,2 @@
unicorn: bundle exec unicorn -E production -l unix:./tmp/sockets/justask.sock
sidekiq: bundle exec sidekiq -C './config/sidekiq.yml'