diff --git a/Gemfile b/Gemfile index 3c17946..fb0208e 100644 --- a/Gemfile +++ b/Gemfile @@ -66,6 +66,12 @@ gem 'lodash-rails' # Use Capistrano for deployment # gem 'capistrano-rails', group: :development +gem 'rails_12factor', group: :production + +gem 'puma' + +ruby "2.3.0" + group :development, :test do # Call 'binding.pry' anywhere in the code to stop execution and get a debugger console gem 'pry-rails' diff --git a/Gemfile.lock b/Gemfile.lock index ae56ed0..25441e4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -148,6 +148,7 @@ GEM slop (~> 3.4) pry-rails (0.3.4) pry (>= 0.9.10) + puma (3.4.0) rack (1.6.4) rack-test (0.6.3) rack (>= 1.0) @@ -170,6 +171,11 @@ GEM rails-deprecated_sanitizer (>= 1.0.1) rails-html-sanitizer (1.0.3) loofah (~> 2.0) + rails_12factor (0.0.3) + rails_serve_static_assets + rails_stdout_logging + rails_serve_static_assets (0.0.5) + rails_stdout_logging (0.0.5) railties (4.2.6) actionpack (= 4.2.6) activesupport (= 4.2.6) @@ -245,7 +251,9 @@ DEPENDENCIES omniauth-facebook pg (~> 0.15) pry-rails + puma rails (= 4.2.6) + rails_12factor react-rails sass-rails (~> 5.0) sdoc (~> 0.4.0) @@ -254,5 +262,8 @@ DEPENDENCIES uglifier (>= 1.3.0) web-console (~> 2.0) +RUBY VERSION + ruby 2.3.0p0 + BUNDLED WITH 1.12.5 diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..69286bd --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}