Skip to content

Commit

Permalink
Added foreman procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoceppi committed Feb 14, 2013
1 parent 3c9cab5 commit ce02811
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,6 @@ script/refresh_db

# temp directory for chef (used to configure vagrant VM)
chef/tmp/*

# .procfile
.profile
12 changes: 12 additions & 0 deletions .procfile.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
###
# .procfile example
##
# Move this file to .procfile and change the values
# below to suit your needs.
###

# This specifies how many of each task to run
concurrency: web=2,sidekiq=1,clockwork=1

# Define the port range to use, must be in multiples of 1000
port: 3000
3 changes: 3 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web: bundle exec rails server -p $PORT
sidekiq: bundle exec sidekiq -e $RAILS_ENV
clockwork: bundle exec clockwork config/clock.rb

0 comments on commit ce02811

Please sign in to comment.