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

Use foreman to manage processes #312

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ gem "axlsx"
gem "nokogiri"
gem "newrelic_rpm"
gem 'dotenv-rails'
gem 'foreman'

# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ GEM
font-awesome-sass-rails (3.0.2.2)
railties (>= 3.1.1)
sass-rails (>= 3.1.1)
foreman (0.76.0)
dotenv (~> 1.0.2)
thor (~> 0.19.1)
formatador (0.2.5)
fuubar (2.0.0)
rspec (~> 3.0)
Expand Down Expand Up @@ -460,6 +463,7 @@ DEPENDENCIES
factory_girl_rails
faker
font-awesome-sass-rails
foreman
fuubar
gon
google_visualr (>= 2.1)
Expand Down
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web: bundle exec puma -C ./config/puma.rb
worker: bundle exec rake jobs:work