From e2cabbe9345b013fbfded9e92dd689aa0e25e044 Mon Sep 17 00:00:00 2001 From: nilsding Date: Fri, 12 Dec 2014 22:59:35 +0100 Subject: [PATCH] added foreman --- Gemfile | 2 ++ Gemfile.lock | 5 +++++ Procfile | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 Procfile 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