Iker Narvaez

production config

1 +WAIT=7
2 +ATTEMPTS=10
3 +/
...@@ -62,3 +62,7 @@ end ...@@ -62,3 +62,7 @@ end
62 62
63 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem 63 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
64 gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] 64 gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
65 +
66 +group :production do
67 + gem 'rails_12factor'
68 +end
......
...@@ -148,6 +148,11 @@ GEM ...@@ -148,6 +148,11 @@ GEM
148 nokogiri (>= 1.6) 148 nokogiri (>= 1.6)
149 rails-html-sanitizer (1.0.4) 149 rails-html-sanitizer (1.0.4)
150 loofah (~> 2.2, >= 2.2.2) 150 loofah (~> 2.2, >= 2.2.2)
151 + rails_12factor (0.0.3)
152 + rails_serve_static_assets
153 + rails_stdout_logging
154 + rails_serve_static_assets (0.0.5)
155 + rails_stdout_logging (0.0.5)
151 railties (5.0.7) 156 railties (5.0.7)
152 actionpack (= 5.0.7) 157 actionpack (= 5.0.7)
153 activesupport (= 5.0.7) 158 activesupport (= 5.0.7)
...@@ -246,6 +251,7 @@ DEPENDENCIES ...@@ -246,6 +251,7 @@ DEPENDENCIES
246 pry 251 pry
247 puma (~> 3.0) 252 puma (~> 3.0)
248 rails (~> 5.0.6) 253 rails (~> 5.0.6)
254 + rails_12factor
249 sass-rails (~> 5.0) 255 sass-rails (~> 5.0)
250 simple_form 256 simple_form
251 slim 257 slim
......
1 +web: bundle exec puma -C config/puma.rb
2 +worker: bundle exec sidekiq