diff --git a/Gemfile b/Gemfile index dadb96422..d3556da9e 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/Gemfile.lock b/Gemfile.lock index 40a6e319f..4f490606d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) @@ -460,6 +463,7 @@ DEPENDENCIES factory_girl_rails faker font-awesome-sass-rails + foreman fuubar gon google_visualr (>= 2.1) diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..c27265cf4 --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +web: bundle exec puma -C ./config/puma.rb +worker: bundle exec rake jobs:work