diff --git a/Gemfile b/Gemfile index e108fcd..986b558 100644 --- a/Gemfile +++ b/Gemfile @@ -53,6 +53,7 @@ gem 'sinatra', :require => nil gem 'devise-bootstrap-views' gem 'rails_12factor' +gem 'puma' group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console diff --git a/Gemfile.lock b/Gemfile.lock index ecf0049..ff68a39 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -151,6 +151,7 @@ GEM coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) + puma (2.12.2) rack (1.6.4) rack-cors (0.4.0) rack-protection (1.5.3) @@ -296,6 +297,7 @@ DEPENDENCIES kaminari (~> 0.16.3) pg pry + puma rack-cors rails (= 4.2.3) rails_12factor 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}