Skip to content

Commit

Permalink
added foreman to manage rails server and sidekiq worker startup helper
Browse files Browse the repository at this point in the history
  • Loading branch information
zeknox committed Jul 18, 2015
1 parent 33a7937 commit de4632f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,7 @@ gem "bullet", :group => "development"
gem 'public_activity'

# decorators
gem 'draper', '~> 1.3'
gem 'draper', '~> 1.3'

# foreman helper
gem 'foreman'
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ GEM
faker (1.4.3)
i18n (~> 0.5)
ffi (1.9.8)
foreman (0.78.0)
thor (~> 0.19.1)
formatador (0.2.5)
geokit (1.9.0)
multi_json (>= 1.3.2)
Expand Down Expand Up @@ -352,6 +354,7 @@ DEPENDENCIES
execjs
factory_girl_rails
faker
foreman
geokit
googlecharts
guard-rspec
Expand Down
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web: bundle exec rails server
worker: bundle exec sidekiq -C config/sidekiq.yml

0 comments on commit de4632f

Please sign in to comment.