diff --git a/Gemfile b/Gemfile index 6e609c5d..3db7a191 100644 --- a/Gemfile +++ b/Gemfile @@ -44,6 +44,8 @@ gem 'questiongenerator', git: 'https://github.com/justask/questiongenerator.git' gem 'omniauth' gem 'omniauth-twitter' +gem 'foreman' + group :development do gem 'spring' end diff --git a/Gemfile.lock b/Gemfile.lock index 62216894..438e7b2f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -72,6 +72,7 @@ GEM warden (~> 1.2.3) diff-lcs (1.2.5) docile (1.1.5) + dotenv (1.0.2) equalizer (0.0.9) erubis (2.7.0) eventmachine (1.0.3) @@ -89,6 +90,9 @@ GEM railties (>= 3.2, < 5.0) font-kit-rails (1.1.0) rails + foreman (0.76.0) + dotenv (~> 1.0.2) + thor (~> 0.19.1) haml (4.0.6) tilt hashie (3.3.2) @@ -306,6 +310,7 @@ DEPENDENCIES faker font-awesome-rails (~> 4.2.0.0) font-kit-rails + foreman haml http_accept_language jbuilder (~> 2.2.4) diff --git a/Procfile b/Procfile new file mode 100644 index 00000000..fa125562 --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +unicorn: bundle exec unicorn -E production -l unix:./tmp/sockets/justask.sock +sidekiq: bundle exec sidekiq -C './config/sidekiq.yml' \ No newline at end of file